c0de 0.3.0Diese Seite auf Deutsch

HOUR ​

Returns the hour of a time (0 to 23).

Without time the function uses the current time. It uses the time zone of the server.

Parameters and results

  • time TIME: the time (optional, default now)
  • result result INTEGER: the hour, 0 to 23

Example

c0de
CALL c0de/time/HOUR
    RESULT result hour