Displaying 1 result from an estimated 1 matches for "ddatetime".
Did you mean:
datetime
2014 Jan 23
2
Stata support in package foreign
...ever, according to Stata's documentation both Stata 12 and 13 use
format 115, so foreign::read.dta should be able to read Stata 13 files.
It would be helpful to know if that is the case.
Second, Stata document reading R's POSIXct date-times into Stata at
http://www.stata.com/manuals13/ddatetime.pdf page 10 using format %tC.
The description there of 'UTC-adusted seconds' is ambiguous, but what is
said on page 2 suggests %tc is correct. Could someone please try
reading a recent R date-time into Stata (one since July 2012, the last
leap second) and see which format reads it corr...