Skip to content

Flow action Format DateTime

Arie J. Godschalk edited this page Nov 15, 2026 · 1 revision

Format datetime

Home · Flows · Actions

Purpose

Formats a date/time value and returns it in a text result tag.

Arguments

Argument What to enter
format (Format) Listed format or supported custom pattern.
date (Date) Optional parseable date/time. Leave empty to use now.
locale (Locale) Optional locale override; otherwise BLL defaults apply.
timeZone (TimeZone) Optional IANA time-zone override; otherwise BLL defaults apply.

Outputs

Token Type Meaning
result string Formatted result

How it works

Choose a named or custom date format. Date, locale, and time zone can be supplied; BLL defaults apply if omitted.

Example

Prerequisite: Install Better Logic Library and create the Flow described below. Choose dd-MM-yyyy HH:mm, connect an ISO date/time to Date, and select en-GB and Europe/Amsterdam. Connect Formatted result to a text message.

Limitations and tips

The date must be parseable. The result is text, not a timestamp number.

Related guides

Clone this wiki locally