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: Re: changing observations under one variable


From   Rudy Hover <[email protected]>
To   [email protected]
Subject   st: Re: changing observations under one variable
Date   Tue, 24 Apr 2012 13:59:21 +0200

Ofcourse '19dec2006' needs to be '29dec2006', i.e. the last working day of the month.

I would appreciate your help

On Apr 24, 2012, at 1:41 PM, Rudy Hover wrote:

> In a dataset I have one variable called 'date' with observations in the format '29jan1999' until '19dec2006', so the last working day of the month, the month and then the year. I want to change this to the format '199901' or '200612', so I don't need the day anymore, only the year and then the month. Could you help me how to replace?
> 


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index