[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Formatting months error
Hi,
I cannot find the bit in the manuals that sorts this out for me. I get the wrong month when I format for month with %tm.
. gen date=18628
. format date %td
. l
+-----------+
| date |
|-----------|
1. | 01jan2011 |
+-----------+
. format date %tm
. l
+--------+
| date |
|--------|
1. | 3512m5 |
+--------+
What am I doing wrong?
Paul
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/