Date and Time Functions for Public Health Purposes
Date -> calmonth (character)
Date -> calmonth (numeric)
Date -> calyear (character)
Date -> calyear (numeric)
Date -> calyearmonth (character)
ISO quarter (character) from Date object
ISO quarter (numeric) from Date object
ISO week (character) from Date object
ISO week (numeric) from Date object
ISO year (character) from Date object
ISO year (numeric) from Date object
ISO year and quarter (character) from Date object
ISO year and week (character) from Date object
Date to season.
Date to season week.
ISO week to season week (numeric). Season week 1 is natural week 35.
Last Sunday in ISO year
Last ISO week (numeric) in ISO year
Last ISO yearweek (character) in ISO year
ISO yearweek to quarter (character)
ISO yearweek to quarter (numeric)
ISO yearweek to week (character)
ISO yearweek to week (numeric)
ISO yearweek to year (character)
ISO yearweek to year (numeric)
ISO yearweek to ISO yearquarter (character)
Last date in ISO yearweek
ISO yearweek to season.
ISO yearweek to season week (numeric). Season week 1 is ISO week 35.
keep_sundays_and_latest_date_internal
keep_sundays_and_latest_date
keep_sundays
Current time as character
Last date in season
Season week to ISO week (character). Season week 1 is ISO week 35.
Season week to ISO week (numeric). Season week 1 is ISO week 35.
Provides easy and consistent time conversion for public health purposes. The time conversion functions provided here are between date, ISO week, ISO yearweek, ISO year, calendar month/year, season, season week.
Useful links