ADDYEARS
dateAdds years to a timestamp or a tselements.
The ADDYEARS
function consumes from the top of the stack a number (positive or negative) of years, a time parameter (timestamp or tselements) and optionally a timezone parameter.
It adds the years and when an optional timezone is specified the computation is performed using it instead of UTC
.
Timezone names are the ones defined in Joda Time.
This function will take into account leap years and, when working with timestamps, possible daylight saving time change.