R/the_year_right_now.R

Defines functions the_year_right_now

Documented in the_year_right_now

#' Today's year in the Gregorian calendar.
#'
#' @return <int> probably 2024 or later
#' @export
#'
#' @examples
#' the_year_right_now()
#'
#' @seealso [as.POSIXlt()], [Sys.Date()]
the_year_right_now <- function(){
    as.POSIXlt(Sys.Date())$year + 1900L
}
higherX4Racine/hercacstables documentation built on Jan. 15, 2025, 9:58 p.m.