Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Returns the hours portion of a time.

Namespace

datetime

Input

time(time)

Output

hours(int)

Example

If basetime contains the time 22:30:00, then the following two functions are equivalent, and return the integer value 22.

...