Returns the hour of the day as a number. If no argument is given, then the current local date/time, as returned by date:date-time is used as the default argument.
hour-in-day($date-time as string?) ➔ number
The input date-time
Links to specifications
Requires Saxon-PE or Saxon-EE. Available for Java and C/C++ only (not .NET).