get-year-from-dateTime

Returns the year part of a given date and time value.

Syntax

    get-year-from-dateTime(strDateTime)

Parameters

strDateTime is a string that represents the date and time and is specified in the format yyyy-mm-ddThh:mm:ssZ. For more information about date and time parameters, see Date and time parameters.

Returns

A number that holds the year part of the given date and time value.

// Ethnio survey code removed