Displaying 1 result from an estimated 1 matches for "yearmonthdayhour".
2012 Jul 13
1
read mignight as 24:00 and not as 0:00
Dear all,
I have dataset which contains date and time in the format
"yearmonthdayhour". I can read in these data correctly as follows:
mydata <- read.csv("pm10_corine_gridcel_hourly_2011.csv", header = TRUE)
mydata$date <- as.POSIXct(strptime(mydata$date, format = "%Y%m%d%H",
tz="UTC"))
However, midnight is defined as 24:00 in my original f...