📜  仅从 r 中的时间序列中获取天数 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:45.006000             🧑  作者: Mango

代码示例1
seq.POSIXt(from=as.POSIXlt("01-01-2016 10:00:00",format="%m-%d-%Y %H:%M:%S"),by=60*60*24, length.out = 3, format="%m-%d%-%Y %H:%M:%S", tz = "Etc/GMT+2")
# "2016-01-01 10:00:00 UTC" "2016-01-02 10:00:00 UTC" "2016-01-03 10:00:00 UTC"