Hours
, Minutes
, and Seconds
all return the obvious number of seconds, together with the attribute unit="seconds"
. Further, when you load mvbutils
, the system functions -.POSIXt
, +.POSIXt
, and difftime
, get silently replaced by equivalents that force all calculations to be done in seconds. Actually, you can still force difftime
to calculate in different units, via its units
argument, but the default is now "seconds" rather than "auto".Hours( x)
Minutes( x)
Seconds( x)
x
, giving the equivalent timespan in seconds, together with an attribute unit="seconds"
.