> I'm looking at some data which has the time in seconds since
> 1992/10/8,
> 15:15:42.5
>
> Are there any functions currently available to "translate"
> this or should I just do my own?
strptime() goes from date formats to seconds.
For going the other way, see ?DateTimeClasses for a lot of i
Your subject line says you want to calculate seconds... the body of your
message says you want to "translate" seconds (to something unspecified).
I am not sure how we are supposed to respond. Can you give us a short example
of what you have and what you want using R syntax?
-
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 NumberOfSe
Dear R People:
I'm looking at some data which has the time in seconds since 1992/10/8,
15:15:42.5
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
--
Erin Hodgess
Associate Professor
Department of Compute
4 matches
Mail list logo