powered by
This function takes a date as input and returns the closest year.
date
find_closest_year(date)
An integer, the closest year to the input date.
integer
[character(1)] The date in format "YYYY-MM-DD".
character(1)
"YYYY-MM-DD"