Skip to content
Prev 86614 / 398513 Next

How to convert SPSS date data to dates?

"Jonathan Williams" <jonathan.williams at pharmacology.oxford.ac.uk> writes:
[1] "1915-01-26 13:00:00 CET" "1914-10-23 13:00:00 CET"
[3] "1917-06-15 13:00:00 CET" "1917-07-04 13:00:00 CET"

Does this look right? (If you don't want the times, use as.Date).

BTW: There's a strange asymmetry:
[1] "1915-01-26 12:00:00 GMT" "1914-10-23 12:00:00 GMT"
[3] "1917-06-15 12:00:00 GMT" "1917-07-04 12:00:00 GMT"

(have we seen this before?).