User Guide

LSDateFormat 749
LSDateFormat
Description
Formats the date part of a date/time value in a locale-specific format.
Returns
A formatted date/time value. If no mask is specified, the value is formatted according to the locale
setting of the client computer.
Category
Date and time functions, Display and formatting functions, International functions
Function syntax
LSDateFormat(date [, mask ])
See also
LSParseDateTime
, LSTimeFormat, DateFormat, SetLocale; “Handling data in
ColdFusion MX” in Chapter 17, “Developing Globalized Applications,” in ColdFusion MX
Developer’s Guide
History
ColdFusion MX:
Changed formatting behavior: this function might return different formatting than in earlier
releases. This function uses Java standard locale formatting rules on all platforms.
Added support for the following mask parameter options: short, medium, long, and full.