JAN-15"到POSIxct
as.POSIXct(c("5-JAN-15"),tz="GMT")
我收到此错误
Error in as.POSIXlt.character(x, tz = tz) :
character string is not in a standard unambiguous format
答案 0 :(得分:1)
必须指定格式。
as.POSIXct("5-JAN-15", format="%d-%h-%y", tz="GMT")
#[1] "2015-01-05 GMT"