DayOfWeek (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 = 07/16/2022

In the output window, you can see that the day of the week, Saturday, has been returned in its integer form, 6.

© Copyright 2023, Astera Software