Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






Year function

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

Syntax

Year ( dateExpr )

Elements

dateExpr

Any of the following kinds of expressions:

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

See examples

Examples: Year function
Related topics
LotusScript Language Reference: U through Z
Day function
Hour function
Minute function
Month function
Now function
Second function
Today function
Weekday function




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009