Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 rfc 3339 时间戳
example("2012-04-17T04:58:50.470Z")
有没有可以帮助解码这个值的包
如何使用 r 语言将其转换为小时和分钟
谢谢
As Joshua said, as.POSIXct and a couple related functions with "POSIX" in their names do a lot. If you're going to be wrangling date/time strings a lot, take a look at the lubridate package.
as.POSIXct
lubridate