yearvalue(
DATE
)

The yearvalue( function extracts the year from a date as a numeric value.


Parameters

This function has one parameter:

date – date value (see the date( and today( functions.)


Description

This function extracts the year from a date as a numeric value.

yearvalue(today()) ☞ 2015

Note: This function is equivalent to:

val(datepattern(thedate,"YYYY"))

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.