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






@Year

Extracts and returns the year from the specified time-date value.

Syntax

@Year( time-date )

Parameters

time-date

Time-date or time-date list. The time-date of the year you want.

Return value

year

Number or number list. The year of time-date. @Year returns the year relative to the time zone in which the date was generated. Returns -1 if the time-date provided contains only a time value and not a date.

Usage

If the parameter is a list, the function operates on each element of the list, and the return value is a list with the same number of elements.

Language cross-reference

Year function of LotusScript language

See examples

Examples: @Year
Related topics
Performing time-date operations
@Day
@Hour
@Minute
@Month
@Second
@Adjust




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009