DateTime.format()

Signature

String format (DateTime d1, String format)

Domain

ACTION, CONDITION, QUERY, BUI

Description

Return the DateTime passed as a formatted String.

Parameters

NameTypeDescription
d1DateTimeA DateTime to be formatted.
formatStringi.e. $1yyyy-MM-dd HH:mm:ss.SSS$1 is correct, but $1yyyy-MM-dd HH:mm:ss.S$1 is not valid.

Returns

TypeDescription
StringA String representation of the supplied DateTime in the supplied format.

Cautions

none