The variable 'date' has type -long-.
The format is -%d-
The label is -Date of Observation-
On Apr 24, 2012, at 2:08 PM, Nick Cox wrote:
> The word format means so many things! "29jan1999" is not a format in the sense of -format-. It might the result of setting a particular format?
>
> Is -date- a string variable? Is it a numeric variable with a date format assigned.
>
> Do you want another string variable? Do you want a numeric variable with a specified display -format-?
>
> Nick
> n.j.cox@durham.ac.uk
>
> Rudy Hover
>
> 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/
*
* 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/