seconds_in_a_day: Functions to conveniently access number of seconds in...

View source: R/lubridate_supplements.R

seconds_in_a_dayR Documentation

Functions to conveniently access number of seconds in different time periods.

Description

Functions to conveniently access number of seconds in different time periods.

Usage

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()

Arguments

leap_year

Should leap year logic be used?

x

A date or year vector.

Value

Integer vector with length of one.

Author(s)

Stuart K. Grange


skgrange/threadr documentation built on May 11, 2024, 12:16 p.m.