DateParse

The DateParse function manipulates date objects. It receives two key parameters: a date object and a date format string. This function transforms the input date object to a customized date representation based on the provided format string, returning it as a string. If input errors occur, such as incompatible date formats, it returns NULL, ensuring dependable behavior.

Syntax

DateParse(date object, requested date format)

Example

If there is a ‘date‘ variable saved with the value of “08/24/2023 4:22:53 PM”, the function returns:

DateParse (${date},"dd/MM/yyyy") - > returns '24/08/2023'