LSDateTimeFormat
Formats a date in a locale-specific format
Method Signature
Arguments
Argument
Type
Required
Description
Default
date
any
true
The date string or object
mask
string
false
Optional format mask, or common mask
locale
string
false
Optional locale designation of the output ( e.g. es-SA )
timezone
string
false
Optional specific timezone to apply to the date ( if not present in the date string )
Examples
Related
Last updated
Was this helpful?