ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Date and time functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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.
Example
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:
Calculating the date of Easter and an age 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
Component: wd290std.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help