Description Usage Arguments Value See Also Examples
View source: R/utc_offset_berlin.R
UTC Offsets of Days in Time Zone Europe/Berlin
1 |
x |
vector of character representing date strings in the format
|
vector of integers 1
or 2
, depending on whether all
timestamps of the days at corresponding positions in x
are in Central European Time (CET) or in Central European Summer Time
(CEST), respectively. For days at which the time is adjusted from CET to
CEST or vice versa, NA
is returned.
1 2 3 4 5 6 7 8 9 10 11 | kwb.datetime:::utc_offset_Berlin_day("2017-11-04") #> 1 -> CET
# The offset is not unique at the days of clock change CEST -> CET
kwb.datetime:::utc_offset_Berlin_day("2017-10-28") #> 2 -> CEST
kwb.datetime:::utc_offset_Berlin_day("2017-10-29") #> NA -> offset not unique!
kwb.datetime:::utc_offset_Berlin_day("2017-10-30") #> 1 -> CET
# The offset is not unique at the days of clock change CET -> CEST
kwb.datetime:::utc_offset_Berlin_day("2017-03-25") #> 1 -> CET
kwb.datetime:::utc_offset_Berlin_day("2017-03-26") #> NA -> offset not unique!
kwb.datetime:::utc_offset_Berlin_day("2017-03-27") #> 2 -> CEST
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.