The 'GetDateYear' function returns the current year that is stored in 'Windows OS'.
int @GetDateYear();
Parameters
none
Return Value
current year
Example
y = @GetDateYear();
Description : Assume that the current year is 2001. '2001' is stored in the variable named 'y'.
Reference