Skip to content

Date Time Format

Pure

Converts a date string into a new format using provided input and output formatters.

Pure Function
Yes

Execute Inputs

Execution

INPUT

Execution Input.

Data Inputs

Input

INPUT

The input date string to be parsed.

Input Format

INPUT

The format used to parse the input string, e.g., yyyy-MM-dd. By default it will use ISO 8601 format.

Output Format

INPUT

The desired output format, e.g., yyyy MMM.

Timezone

INPUT

Adjust formatted date by an amount of time based on timezone UTC or (IANA name like 'Pacific/Auckland', 'Australia/Melbourne', etc.). A blank value will use the MODLR instance timezone.

Data Outputs

Formatted Date

OUTPUTstring

The converted date string.

Multiple

Settings

Debug

STRING

Break on node when executing.

Default: No
Options:
NoBeforeInputsBeforeProcessingAfterProcessing