DatePart (DateTimeOffset)

Example

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

Where,

dateTime = 01/03/2024 10:23:40 AM

In the output window, you can see that the provided date-time value has been returned with the time-offset part reset to 12:00:00 AM.