| hour {Animal} | R Documentation |
This function extracts the hour from date objects
x |
A POSIXt object |
hour |
Hour (1-24) of the input object |
Matti Pastell <matti.pastell@helsinki.fi>
day, day.string,
week, month
date <- Sys.time() hour.number <- hour(date) print(hour.number)