Example
In this example, we will pass a valid UTC date time value to the function transformation object using a Variables object.
Where,
dateTime = 09/10/2020 10:10:25 AM
In the output window, you can see that the provided UTC date time value has been converted into a local date time value.
Name
ToLocal
Syntax
ToLocal (Date dateTime)
Purpose
Returns local date time value after conversion from UTC date time value.
Description
Converts specified UTC date time value to local date time value.
Return Type
DateTime
Parameter
dateTime [Syste.DateTime] – Date which will be converted to local