LOTUSSCRIPT LANGUAGE


Year function
Example

Returns the year, as a 4-digit integer, for a date/time argument.

Syntax

Year ( dateExpr )

Elements

dateExpr

Return value

Year returns an integer between 100 and 9999.

The data type of the return value is a Variant of DataType 2 (Integer).

Year(NULL) returns NULL.

Language cross-reference

@Year function in formula language

Example
See Also