current_hour

Specifies the hour of the day that is 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_hour=---integer-------------><

Parameters:

integer A value from 0 - 23 indicating the required hour of the day. The value you specify is returned when you use the ACCEPT identifier FROM TIME syntax, or the CURRENT-DATE and FORMATTED-CURRENT-DATE intrinsic functions. It is also used in the calculation for the SECONDS-PAST-MIDNIGHT intrinsic function.

Properties:

Default: The current hour as returned by the system clock.
IDE equivalent: None

Comments:

If the timewarp_dynamic tunable is set to TRUE, the hour value specified is treated as the hour at which the clock is started, and will change every 60 minutes.