Year (Date dateTime)

Example

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

Where,

dateTime = 02/01/2020

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

© Copyright 2023, Astera Software