ToDateTime
Converts value to datetime type
Inputs
ToDateTime(value, format, [location], [replaceInvalidWith])
value
- A value to convert into dateTimeformat
- Enum ‘DateFormatTemplateOption’ with the corresponding format of the value, ex. DateTimeFormatTemplateOption.MM*dd*yyyy HH:mm
[location]
- [optional: UTC by default**]**[replaceInvalidWith]
- [optional: null by default**]** - invalid values will be replaced with this parameter
Description
You have to select the value's actual (not output) format in the second parameter.