$DATE_TIME

Specify a system date and time for application testing.

$DATE_TIME{=} ccyymmddhhnnss

Defaults

Assignment file: client assignment files
Section: [SETTINGS]
Default value: None

Description

$DATE_TIME can be used to specify a fixed date and time while running an application. This can be helpful for testing applications. When this assignment is set, the ProcScript functions such as $date, $datim, and so on, will always deliver the same DateTime, so that it seems that the system clock is no longer running.

Note:  Do not use this setting with applications that depend on a running clock, such as those that store timestamps, to test for Year 2000 problems. Clock-dependent applications will have problems. Year 2000 tests use the actual system clock instead of an imported date and time.

$DATETIME

$DATE_TIME = 19990703042000

(July 3, 1999, 4:20:00)

Related Topics