TimeToInteger (DateTimeOffset)

Example

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

Where,

dateTime = 7/14/2022 1:30:20 PM

In the output window, you can see that the provided value has been converted into an integer value, representing time.