weekdays(x, abbreviate)
# S3 method for POSIXt
weekdays(x, abbreviate = FALSE)
# S3 method for Date
weekdays(x, abbreviate = FALSE)months(x, abbreviate)
# S3 method for POSIXt
months(x, abbreviate = FALSE)
# S3 method for Date
months(x, abbreviate = FALSE)
quarters(x, abbreviate)
# S3 method for POSIXt
quarters(x, …)
# S3 method for Date
quarters(x, …)
julian(x, …)
# S3 method for POSIXt
julian(x, origin = as.POSIXct("1970-01-01", tz = "GMT"), …)
# S3 method for Date
julian(x, origin = as.Date("1970-01-01"), …)
"POSIXt"
or "Date"
."POSIXt"
or "Date"
.weekdays
and months
return a character
vector of names in the locale in use. quarters
returns a character vector of "Q1"
to
"Q4"
. julian
returns the number of days (possibly fractional)
since the origin, with the origin as a "origin"
attribute.
All time calculations in R are done ignoring leap-seconds.DateTimeClasses
, Date