Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: string date


From   Rui Zeng <[email protected]>
To   [email protected]
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index