[R] date and time

threshold r.kozarski at gmail.com
Fri Oct 14 18:02:38 CEST 2011


Dear R users, 

I got date and time as two separate characters 
[1] "2008-04-11"
[1] "22:00:00"

which correspond to my starting point in time domain.

Now I need to produce series over, 5 sec epochs up to end point, say:
[1] "2008-04-12"
[1] "23:00:00"

So something like
2008-04-11 22:00:00
2008-04-11 22:00:05
2008-04-11 22:00:10
.
.
.
2008-04-12 23:00:00

Is there any strightforward way to do it? Any suggestions?

Best, robert


--
View this message in context: http://r.789695.n4.nabble.com/date-and-time-tp3905358p3905358.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list