anytime 时间类型转换
times <- c("2004-03-21 12:45:33.123456","2004/03/21 12:45:33.123456","20040321 124533.123456","03/21/2004 12:45:33.123456","03-21-2004 12:45:33.123456","2004-03-21","20040321","03/21/2004","03-21-2004","20010101")
tmp <- anytime(times)
anydate(times)
utctime(times)
utcdate(times)
tmp <- anytime(times)
anydate(times)
utctime(times)
utcdate(times)
评论
发表评论