DataType.Date.format()

The Date module of the DataType Utility allows you to format a JavaScript Date object into a string with strftime syntax.

NOTE: As of 3.1.0, the formatting patterns used by DateType.Date can be driven by external language resource bundles as described in the "Formatting Dates Using Language Resource Bundles" Example. This examples currently uses the 3.0.0 dateFormat and locale instance configuration support which have been deprecated.