YEAR

The following section describes the syntax and usage of the YEAR function in ActivityInfo.

Description

The YEAR function is used to obtain the numeric year value from a given Date.

Syntax

YEAR(date)

Argument Required Description
date Yes The date to obtain the year value from.

The value must be a Date.

Result

The numeric value of the year.

Example

We will be using the YEAR function to obtain the year from a given Date value.

Arguments

We will be using the Date field "Dates" (with code "dates").

Formula

YEAR(dates)

Results