Dayte
dtt_dayte(x, start_month = 1L, start_day = 1L)
| 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. |
A Date vector with the year set to 1972.
dtt_dayte(Sys.Date())#> [1] "1972-03-05"