. format my_date %dN/D/CY
looks like the format that your are looking for. The "N" stands for "number"
where %dM/D/Y would print the month name.
You might find my webpage helpful.
A SAS User's Guide to Stata:
http://www.cpc.unc.edu/services/computer/presentations/sas_to_stata
dan
Mary Clouser wrote:
--------------------------------------------------------------------------
I have the following problem in a data set. All dates are currently recorded in
the SAS date format. That means they are positive or negative numbers
depending on whether they were before or after day "0": 1-January-1960 I have
yet to find a way to get them converted to STATA with the actual date
(01/01/1960 for instance) in the record. Can anyone help me?
Thanks in advance
Mary Clouser
*
*
* 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/