Equinox Online Help - Language Reference - A to Z

Home

Year

Applies to
SyntaxYear(DateExpression)
Action[Function] Returns the year value from a date.
ScopeUsable 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.

CategoryDate 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)