Equinox Online Help - Language Reference - A to Z
Year |
|
---|---|
Applies to | |
Syntax | Year(DateExpression) |
Action | [Function] Returns the year value from a date. |
Scope | Usable anywhere |
Notes | The function extracts the year number from DateExpression and returns it as a number. Note that the maximum year value that Equinox can store is 4000. |
Category | Date handling |
See Also | Years, Day, Dayname, Dayofweek, Dayofyear, Dmy, Dmyadd, Leapyear, Month, MonthName, Months, ServerDateTime, Today, Week, WeekOfYear |
Example | This example displays the current year, on a dialog. Alert Year(Today) |