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

Re: st: Converting from SAS date format to STATA


From   cthompson@econometricainc.com
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Converting from SAS date format to STATA
Date   Tue, 15 Mar 2005 15:32:07 -0500

Per the Stata help documentation, Stata interprets dates the same way, i.e. 01 Jan 
1960 corresponds to zero.  
You may find what you need by typing 
findit date 
into the command window.
--clint

On 15 Mar 2005 at 13:23, mclouser@email.arizona.edu wrote:

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




Clinton J. Thompson
Econometrica, Inc.
4416 East-West Highway, Suite 215
Bethesda, MD  20814
Phone: 240-333-4803
Fax: 301-657-3140
www.EconometricaInc.com

The information transmitted is intended only for the person 
or entity to which it is addressed and may contain confidential 
and/or privileged material. Any review, re-transmission, 
dissemination or other use of, or taking of any action 
in reliance upon, this information by persons or entities 
other than the intended recipient is prohibited. If you
received this in error, please contact the sender and 
delete the material from any computer.

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