[R] difficulty in starting time sequence from 00:00:00
suresh.ghalsasi at gmail.com
Tue Feb 17 10:33:59 CET 2009
Need your help.
Dear R- Experts,
Seek your help.
I created a time sequence using:
x[i] <-chron(dates, tt, format=c(dates="y-m-d", tt="h:m:s"))
first element in the list is displayed as: (09-01-01 00:00:00)
Further elements are:
and so on.
I want to compare each value with the timestamp values from database.
I cannot simply compare above values with the timestamp values, as the above
values are not in "date" format.
Therefore, I used:
format.Date(x,"%y-%m-%d %H:%M:%S"), I expect following value:
HOWEVER, the value displayed as: "09-01-01 01:00:00"
Unnecessary addition of 1 hour.
I want to create time sequence starting from "09-01-01 00:00:00" !!!
Can any one please help?
View this message in context: http://www.nabble.com/difficulty-in-starting-time-sequence-from-00%3A00%3A00-tp22053632p22053632.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help