Dayte

dtt_dayte(x, start_month = 1L, start_day = 1L)

Arguments

x

A Date or POSIXct vector.

start_month

An integer vector specifying the start month of the year.

start_day

An integer vector specifying the start day of the year.

Value

A Date vector with the year set to 1972.

Examples

dtt_dayte(Sys.Date())
#> [1] "1972-03-05"