IDATE-WINDOW
Changes the date window used to interpret two-digit year values.
Command Class
TCL-I command.
Syntax
IDATE-WINDOW {nn}
IDATE-WINDOW (R
Syntax Elements
nn is a number in the range 0-99; this sets the user's date window to 19nn-20(nn-1).
If no value is specified the command displays the current date window.
Option
R Resets the date window back to that of the database; this is either the default date window (1930-2029) or the date window specifically set by the IDateWindow database configuration parameter.
Operation
The new date window is immediately changed across all of the user contexts.
Comments
The command must be added to the logon proc if the user always requires a different date window than the default or that specified for the database.
Examples
The following command displays the current date window:
:IDATE-WINDOW
Current date window is "1930-2029"
The following commands set the user's date window:
:IDATE-WINDOW 5
Date window now set to "1905-2004"
:IDATE-WINDOW 65
Date window now set to "1965-2064"
The following command resets the user's date window:
:IDATE-WINDOW (R
Date window now set to "1930-2029"