Year (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 = 12/11/2001

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

Last updated

© Copyright 2023, Astera Software