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