ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Date and time functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the date of Easter for the specified year according to the western Christian calendar.
Reminder Easter is the first Sunday after the first full moon of spring.
Example
Easter(2006) // Renvoie "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: wd300std.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help