hours
Return Various Periods from a Time Vector

Description

Extracts as numbers various time-of-day periods from a time vector.

Usage

hours(x) 
minutes(x) 
seconds(x) 
yeardays(x)

Arguments

x the timeDate object from which to extract periods.
Value
returns a numeric vector of hours, minutes, seconds, or year-days of x for the respective function.
See Also
days, hms.
Examples
x <- timeDate(c("1/1/1998 3:05:23.4", "5/10/2005 2:15:11.234 PM")) 
hours(x) 
minutes(x) 
seconds(x) 
yeardays(x) 
Package splusTimeDate version 6.0.0-69
Package Index