Finding specific day of month
Posted: Tue Aug 17, 2010 12:17 pm
I have a monthly workfile and need to determine the date representing the first Thursday for each observation month.
Can anyone figure out a formula for creating this series?
genr first_thurs = ???
Can anyone figure out a formula for creating this series?
genr first_thurs = ???
Code: Select all
obs first_thurs
2009M01 1/1/2009
2009M02 2/5/2009
2009M03 3/5/2009
2009M04 4/2/2009
2009M05 5/7/2009
2009M06 6/4/2009
2009M07 7/2/2009
2009M08 8/6/2009
2009M09 9/3/2009
2009M10 10/1/2009
2009M11 11/5/2009
2009M12 12/3/2009