On 19.02.2013 18:52, Erin Hodgess wrote:
Dear R People:

I'm looking at some data which has the time in seconds since 1992/10/8,
15:15:42.5

Just ask R to

strptime("1992/10/8,15:15:42.5", "%Y/%m/%d,%H:%M:%OS") + NumberOfSeconds

and you get the actual date after the given amount of NumberOfSeconds. Including correct timezone / daylight saving stuff / leap seconds etc.

Best,
Uwe Ligges






Are there any functions currently available to "translate" this or should I
just do my own?

I figured that I'd check first.

Thanks,
Erin



______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to