User's Reference > General > TCL and General User Commands > Command Reference > I > IDATE-WINDOW

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.0 ()

IDATE-WINDOW command (TCL) (M604806+IDATEWINDOW.HTM)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

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"

RealityV15.0Comment on this topic