If the DATEPROC compiler option is in effect, the YEARWINDOW function returns the starting year of the century window specified by the YEARWINDOW compiler option. The returned value is an expanded date field with implicit DATE FORMAT YYYY.
If the NODATEPROC compiler option is in effect, the YEARWINDOW function returns 0.
The function type is integer.