Hour (DateTimeWithOffset dateTime)

Example

In this example, we will pass a date time offset value to the function transformation object using a Variables object.

Where,

dateTime = 06:40:35 AM

In the output window, you can see that the hour part of the provided date time offset value has been returned.