Just recently the ability to handle POSIXt style formats in as.chron
was added:
> x <- c("07/01/2001 12:00:00","07/17/2001 15:00:00")
> y <- as.chron(x, "%m/%d/%Y %H:%M:%S")
> y
[1] (07/01/01 12:00:00) (07/17/01 15:00:00)
> # Here is a workaround
> format(as.POSIXct(y), tz = "GMT", format = "%m
Hi list, I have some questions regarding
1) conversion of date + time characters to chron
2) formatting chron object printing
Regarding (1), Gabor's Rnews 2004 4/1 article has been indispensible,
but I often work with files where dates and times are contained in a
single field. In this case, I wo
2 matches
Mail list logo