Bookmark and Share

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

[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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index