condition time range

condition time range Structure: Conditional on the time now falling within a specific period.

condition time range structure
not before integer
not after integer


time range tests if the time now, falls between two provided times.

The time range may cover two periods; spans between the two times within one day and spans between two times over two days. The period is determined by the order of the times.

  • 9am - 5pm = one day
  • 5pm - 9am = two days


not before

The time is not before this time.

not after

The time is not after this time.