hour-from-datetime
Returns the hour, as an integer value, from the xs:dateTime value supplied as argument.

Languages
Built-in, C++, C#, Java.
Parameters
Name | Type | Description |
---|---|---|
datetime | xs:dateTime | Provides the input value of type xs:dateTime. |
Example
If datetime is 2001-12-17T09:30:02+05:00, then the function returns 9.