Thank you very much for your help
Is there a good reference on how little things like this have changed
between version 9 and 10?
cheers
Rajesh
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Nick Cox
Sent: 30 November 2007 13:44
To: [email protected]
Subject: st: RE: stringto date
No.
In Stata 10, try "DMY".
Rajesh Tharyan
The command gen adate=date(date,"dmy"), where date is a string variable
works fine in stata9
However, it generates missing values in stata10.
The format of the date is
. describe date
storage display value
variable name type format label variable label
------------------------------------------------------------------------
----
---
date str10 %10s Date
is this because the variable is named date?
*
* 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/
*
* 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/