There is an elegant and simple solution, such as a zoo, but if necessary, you can customize it:
require(anytime)
The base is simple:
anytime(0)
which returns to me at Eastern Standard Time: [1] "1969-12-31 19:00:00 EST"
If you want him to be able to force redirect it to the UTC center of the temporary universe
anytime(0, asUTC=TRUE)
which returns
[1] "1970-01-01 UTC"
And if you want to tell R that your data is taken from a given time zone:
Sys.setenv(TZ= 'desiredTimeZone')
with anytime:::getTZ()
as your desired time zone, if this is the one in which your dates were collected.
, ( ) , ... , .