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
Drop variables with common suffix under certain conditionsDear all, I am facing difficulties in dropping some variables conditional on the missing observatio…
Oaxaca help - mean wage generated does not match the one given by sum commandGood afternoon, I am using the oaxaca command to decompose the ethnic pay gap, in the example here …
Fractional Proportional Models and Controlling for Time.Hi Statalist, I have a dataset with a large number of observations and a small T. The years for my d…
Question about the effect of adding control variables on estimateDear all, I do a research using instrumental variables, the main problem is that we are not sure wh…
Issues with attempts to drop observations (r109 type mismatch error)Hi there, I'm new to Stata and attempting to drop some observations from my sample, however I keep …
Subscribe to:
Post Comments (Atom)
0 Response to Losing timestamp going from SPSS to STATA
Post a Comment