Year
Kalipso - Form - Expressions - Functions - Functions Descriptions - Date Functions - Year
This Function returns a <string>, which is the year of the specified Date.
Parameters
Source Date <string> - Date to get the year from. This parameter must be in format YYYYMMDD.
Year Format <numeric> - Format of the value to return. The possible values for this parameter are:
2 - YY
4 - YYYY
Examples
Example 1
Year("20210301", 2) Result = 21
Example 2
Year("20210301", 4) Result = 2021
Last updated