标签: r datetime
我在将日期时间字符串转换为日期时间对象(用于绘图)时遇到问题
#The Date (as date[1]): "9/1/2015 1:08AM" #The Command: as.POSIXlt(date[1], "%m/%d/%y %I:%M%p") #The Result: "9-01-20" #Desired Result: "9-01-2015 1:20"