我的数据框中有一列为datetime(factor),其值为"15-10-2017 16:41:00".
我希望这些数据转换为"2017-10-15 16:41:00".当我尝试转换它时,我也将时区作为输出.
我尝试使用tz ="",usetz = F但没有用.有什么建议 ?
码:
as.POSIXlt( "16点41分00秒15-10-2017",格式= "%D-%间 - %Y%H:%M:%S")[1]"二○一七年十月十五日16时41分:00 IST"
timezone datetime r posixlt
datetime ×1
posixlt ×1
r ×1
timezone ×1