year(x, ...) month(x, ...)
day(x, of, ..., first.day = 0)
hour(x, of, ...)
minute(x, of, ...)
second(x, of, ...)
unit(x, ...)
unit(object) <- value
duration(x, ...)
day(x,
'week')
will differ from day(x, 'year')
.POSIXt.units
indicating the new units of object. The conversion will
be effective only if it makes sense (representation ==
'wday'
. Interger indicating the first day of the week. 0
-> sunday (the default), 1 -> monday, 2 -> tuesday, etc.year
, month
, day
, hour
,
minute
and second
are methods defined to
extract the adequat information from a time object. unit
unit<-
is used to extract or set the
unit of a time object (cf POSIXt.units
).