EASTER
Updated 2023-10-06 23:50:35.453000
Syntax
SELECT [westclintech].[wct].[EASTER](
<@Year, int,>)
Description
Use the scalar function EASTER to return the date of Western Easter for the specified year.
Arguments
@Year
specifies the four-digit year. @Year is an expression of type int or of a type that can be implicitly converted to int.
Return Type
datetime
Remarks
@Year must be between 1583 and 3099.
Examples
In this example we calculate Western Easter for the year 2014.
SELECT wct.EASTER(2014) as Easter;
This produces the following result.
{"columns":[{"field":"Easter","headerClass":"ag-right-aligned-header","cellClass":"ag-right-aligned-cell"}],"rows":[{"Easter":"2014-04-20 00:00:00.000"}]}