dst

0th

Percentile

Get Daylight Savings Time indicator of a date-time.

Get Daylight Savings Time indicator of a date-time.

Keywords
methods, utilities, chron
Usage
dst(x)
Arguments
x
a date-time object
Details

Date-time must be a POSIXct, POSIXlt, Date, chron, yearmon, yearqtr, zoo, zooreg, timeDate, xts, its, ti, jul, timeSeries, and fts objects.

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.

Value

  • Daylight savings time flag. Positive if in force, zero if not, negative if unknown.

Aliases
  • dst
  • dst.default
  • dst.zoo
  • dst.its
  • dst.ti
  • dst.timeseries
  • dst.fts
  • dst.irts
Examples
x <- now()
dst(x)
Documentation reproduced from package lubridate, version 0.1, License: GPL

Community examples

Looks like there are no examples yet.