Carrot reference
...
Elements of Carrot expressions
Functions
formatDate()
Converts a given value of type Date into a String.
formatDate(date[, format][, locale])
- date - the Number value to be rounded
- format - the format of the Date, eg. 'mm-dd-yyyy'
- locale -
formatDate(startDate) returns the value of startDate as a String.
formatDate(startDate, 'mm-dd-yyyy') returns the value of startDate as a String in the specified format.
Updated 04 Oct 2023


Did this page help you?