Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: converting SAS file to stata using stat transfer-date and time variables


From   Leny Mathew <lenymathewc@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: converting SAS file to stata using stat transfer-date and time variables
Date   Fri, 17 Dec 2010 12:02:23 -0500

Dear Statalisters,

I'm trying to convert a SAS file (V 9.1) with date and time variables
(separate) into stata and I'm using stat transfer (version 8) for
this. During the conversion, the date variable comes across fine, but
all the time variable values are between 0 and 1. stat transfer reads
the SAS file without any problem, it looks fine in the viewer and it
converts into excel without any problem. I didn't have to format the
date variable within stata, so I'm assuming that I don't have to do
any formatting for the time variable either. Has anyone had this issue
before?
 Any comments are much appreciated. I'm using stata 10.1


Thanks,

Leny
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index