View source: R/lubridate_supplements.R
seconds_in_a_day | R Documentation |
Functions to conveniently access number of seconds in different time periods.
seconds_in_a_day()
seconds_in_an_hour()
seconds_in_a_minute()
hours_in_a_year(leap_year = FALSE)
days_in_a_year(leap_year = FALSE)
year_days(x)
seconds_in_a_year(leap_year = FALSE)
seconds_in_a_week()
leap_year |
Should leap year logic be used? |
x |
A date or year vector. |
Integer vector with length of one.
Stuart K. Grange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.