MicroStrategy ONE
Year
Returns the year of the input date. The return value is an integer between 1900 and 9999.
Syntax
Year(
Argument
)
Where:
Argument
is a metric representing a list of dates.
For information on whether your database supports various date and time functions, see MicroStrategy and Database Support for Functions.
Example
Input is the date 5/16/2003
; output is the integer 2003
.
Input is the date 2002/9/9
; output is the integer 2002
.