Hello list,
I have data by weekending dates where weekending is always Saturday. For
example, data sets go by data041004, data040304, data032704, etc. When I use
any particular data set, I would like to check with past 9 months of weekly
data and see if any of the current records exists in previous data sets. I
would like to get any help on how to create the series of proceeding
weekending dates. I tried to create a local variable with the current
weekending date but couldn't convert it to date format and subsequently, any
preceding dates.
Any help would be greatly appreciated.
Thanks,
Pinaki Mitra
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/