The corresponding date of the first day of month

date_ym(date)

date_y(date)

date_yj(year, doy)

date_ydn(year, dn, delta = 8)