Returns the date of Easter for the specified year according to the western Christian calendar.
Reminder: The date of Easter corresponds to the first Sunday after the first full moon after the Spring equinox.
Easter(2006) // returns "20060416"
Syntax
<Result> = Easter(<Year>)
<Result>: Character string
- Date of Easter for the specified year in YYYYMMDD format,
- Empty string ("") if an error occurred.
<Year>: Character string, Date variable or integer
Year for which the date of Easter must be calculated. The year must be between 1582 (Gregorian calendar) and 9999.
Remarks
This date is not valid for the orthodox calendar.
Related Examples:
|
Unit examples (WINDEV): Calculating the date of Easter and an age
[ + ] Calculating the date of Easter for a given year and calculating the age of a person at a given date.
|
Business / UI classification: Neutral code