when: Retrieve the 'timestamp' of a Time*DataFrame

whenR Documentation

Retrieve the 'timestamp' of a Time*DataFrame

Description

For Time objects.

Usage

  when(x, ...)

Arguments

x

object from which get the timestamp

...

arguments to or from other methods

Value

If TimeInstantDataFrame, return the instants of the object ;

if TimeIntervalDataFrame, return the intervals of the object.

if SubtimeDataFrame, return the POSIXst of the object.

See Also

TimeIntervalDataFrame, POSIXcti, TimeInstantDataFrame, POSIXct, SubtimeDataFrame, POSIXst


timetools documentation built on Aug. 29, 2023, 5:09 p.m.