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.
我可以做这个
strptime("20150615",format="%Y%m%d")
但这行不通。
strptime("194207","%Y%m") [1] NA
这是怎么回事?
编辑
现在这样做,但太傻了。
strptime(paste("194207","01"),"%Y%m%d")