DateFormat

Formats a datetime, date or time

Method Signature

DateFormat(date=[any], mask=[string], timezone=[string], locale=[string])

Arguments

ArgumentTypeRequiredDescriptionDefault

date

any

true

The date string or object

mask

string

false

timezone

string

false

Optional specific timezone to apply to the date ( if not present in the date string )

locale

string

false

Optional ISO locale string which will be used to localize the resulting date/time string

Examples

Last updated

Logo

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC