current_day

Specifies the day of the month required to be returned when you use the ACCEPT identifier FROM TIME syntax, or the CURRENT-DATE, FORMATTED-CURRENT-DATE intrinsic functions. The specified second is also used in the calculation for the SECONDS-PAST-MIDNIGHT intrinsic function.
Note:
  • Micro Focus does not recommend use of this tunable in an Enterprise Server environment.

Syntax:

>>-----set current_day=---integer------><

Parameters:

integer A value in the range 1 through 31, representing the required day of the month. The value you specify is returned when you use the ACCEPT identifier FROM DATE syntax, or the CURRENT-DATE and FORMATTED-CURRENT-DATE intrinsic functions.

Properties:

Default: The current day specified by the system clock.
IDE equivalent: None

Comments:

If the datewarp_dynamic tunable is set to TRUE, the day value specified is treated as the day the clock is started, and changes each time the system clock passes midnight.