Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: format date


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: format date
Date   Tue, 1 Mar 2005 20:54:29 -0000

Re-read the help for -dfmt-. 

As these are evidently successive months, 
you need a %t format, not a %d format, 
such as %tml. 

Nick 
n.j.cox@durham.ac.uk 

Jorge Tuesta
 
> I have the list
> 
> var1
> 1
> 2
> 3
> 4
> 5
> 
> 
> I´d like convert this in format date
> 
> using             format var1 %dl
> I have:
> 
> jan
> jan
> jan
> jan
> jan
> 
> but i´d like
> 
> jan
> feb
> mar
> ...
> 

*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index