Login     Register

        Contact Us     Search

XLeratorDB/financial Documentation

SQL Server Easter function


EASTER

Updated: 04 November 2013


Use the scalar function EASTER to return the date of Western Easter for the specified year.
Syntax
SELECT [wctFinancial].[wct].[EASTER](
   <@Year, int,>)
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.
Easter
-----------------------
2014-04-20 00:00:00.000


Copyright 2008-2013 WestClinTech LLC         Privacy Policy        Terms of Service