Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: string date

From   Rui Zeng <>
Subject   st: string date
Date   Wed, 01 Feb 2012 17:20:30 -0600

 Dear Statalister,
How can I extract year and quarter from a string format date suhc as "1987q1"? I can not use the format command to transfer from string to %tq format. thanks! 

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index