Search

Module: Editor

Version: 2.2.1 +

Type: Long or Double

Category: Date and Time

 

Description

The formula 'Year' returns the year of a specified date. The result is an integer in the range 1753-9999.

Parameters

Date:         this is the date where you want to get the year from.

Example

Description

In the following example the formula 'Year' is used to get the year from a date.

Values parameters

Date:       23-9-2014

Result

Output:    2014

Related Topics

WeekDay: The formula 'WeekDay' returns the day of the week from a specified date.

Day: The formula 'Day' returns the day of the month from a specified date.

Month: The formula 'Month' returns the month from a specified date.

Feedback

If you have any questions about this subject or if you want to provide us feedback please send us an e-mail.

Updated: 2014-09-23