Handling dates when we switch to daylight savings time and back

前端 未结 3 2077
没有蜡笔的小新
没有蜡笔的小新 2020-11-29 08:54

I would like to use R for time series analysis. I want to make a time-series model and use functions from the packages timeDate and forecast.

I have intraday data in

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-29 09:10

    If you don't want daylight saving time, convert to a timezone that doesn't have it (e.g. GMT, UTC).

    times <- .POSIXct(times, tz="GMT")
    

提交回复
热议问题