Back to documentation

Date format

Returns a string that contains a formatted date given some locale.

Information

Group: Date & Time
Plan: Personal
Return type:
string
Added at: 2026-04-06

Parameters

ParameterTypeDefaultExpressions
Date
number | string
"2026-12-02T20:26:11.442Z"
Yes
Locale
string
"en-US"
Yes