更新时间:2023-11-29 12:41:52
使用 as.POSIXct
代替:
time = as.POSIXct("Tue Jan 01 19:28:39 EST 2013", format="%a %b %d %H:%M:%S EST %Y")
从技术上讲,相同的 format
掩码也应与 strftime
一起使用,但不适用于我的系统.YMMV.
The same format
mask should technically work with strftime
as well, but did not work on my system. YMMV.