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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: string date


From   Rui Zeng <rzeng@wisc.edu>
To   statalist@hsphsun2.harvard.edu
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! 
 
 
Rui 


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