View source: R/accessors-dst.r
dst | R Documentation |
Date-time must be a POSIXct, POSIXlt, Date, chron, yearmon, yearqtr, zoo, zooreg, timeDate, xts, its, ti, jul, timeSeries, and fts objects.
dst(x)
x |
a date-time object |
A date-time's daylight savings flag can not be set because it depends on the date-time's year, month, day, and hour values.
A logical. TRUE if DST is in force, FALSE if not, NA if unknown.
x <- ymd("2012-03-26")
dst(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.