![]() |
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: date command error?
From
Steven Archambault <archstevej@gmail.com>
To
statalist@hsphsun2.harvard.edu
Subject
st: date command error?
Date
Mon, 14 Jan 2013 21:19:24 -0700
Hi all,
I am running Stata 12 on a Mac, and am having trouble with the date command.
My datestr values are in the format MM/DD/YY
I am trying to convert these to a date format using
gen dates=date(datestr, "MDY")
dates is generated, but its an empty column. Is there something I'm missing?
Thanks,
Steve
*
* 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/