Valid time zones in lubridate

后端 未结 1 1066
时光取名叫无心
时光取名叫无心 2020-12-18 18:12

A quick google search seems to get me nowhere. What are valid time zones in lubridate\'s tz option? In particular, am looking for Brasilia\'s time zone. Thanks!

相关标签:
1条回答
  • 2020-12-18 18:48

    Take a search through OlsonNames() which provides a list of all the valid timezones on the host system. e.g.:

    grep("Brazil", OlsonNames(), value=TRUE)
    

    ...provides four possible results for Brazil.

    0 讨论(0)
提交回复
热议问题