JAN-15" to a POSIxct
as.POSIXct(c("5-JAN-15"),tz="GMT")
I am getting this error
Error in as.POSIXlt.character(x, tz = tz) :
character string is not in a standard unambiguous format
JAN-15" to a POSIxct
as.POSIXct(c("5-JAN-15"),tz="GMT")
I am getting this error
Error in as.POSIXlt.character(x, tz = tz) :
character string is not in a standard unambiguous format
The format must be specified.
as.POSIXct("5-JAN-15", format="%d-%h-%y", tz="GMT")
#[1] "2015-01-05 GMT"