[英]Transform an input with “month year” to “month/year” in R
If a time-related information is read as "Jun 2008". 与时间相关的信息被读取为“ Jun 2008”。 Are there any convenient approaches to transform it into date format in R or Excel, ie, 06/2008?
是否有任何简便的方法可以将其转换为R或Excel中的日期格式,即06/2008?
在Excel中,以下公式可以解决问题:
=TEXT(A1,"mm/yyyy")
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.