I've been reading about how to deal with changes in date format going from SPSS to STATA so I was prepared for it to display differently however I'm not sure how to deal with the following.
Data has been entered into SPSS as a DATETIME20 variable so it looks like this:
2-Feb-2011 10:20:00
However when I export the SPSS as a STATA file all the variable contains is the date:
02 Feb 11
but the time information (I don't require the date) seems to have gone.
Is there a way of displaying time data?
any advice much appreciated.
Matt
Related Posts with Losing timestamp going from SPSS to STATA
merge on one variable and AT LEAST one other variableHi there I am using the merge command for matching between two datasets. A successful pair needs to …
putexcel string data valuesHi! I am working on survey data and want to export the survey year for each country to an excel list…
Tracking the replacement of older CEOs with younger onesDear Statalist Members, I am working with CompustatExecucomp merged data. I need to create a dummy v…
General Lasso ConfusionI ran a lasso regression on my data and it does not reach the r^2 that a regression of my own design…
teffects nnmatch, atet generates wrong matching variable?If I examine the average treatment effect on the treated using a matching estimator, only the treate…
Subscribe to:
Post Comments (Atom)
0 Response to Losing timestamp going from SPSS to STATA
Post a Comment