User Guide

LSTimeFormat 771
LSTimeFormat
Description
Formats the time part of a date/time string into a string in a locale-specific format.
Returns
A string representing the time value.
Category
Date and time functions, Display and formatting functions, International functions
Function syntax
LSTimeFormat(time [, mask ])
See also
LSParseDateTime
, LSDateFormat, TimeFormat; “Locales” in Chapter 17, “Developing
Globalized Applications” in ColdFusion MX Developers Guide
History
ColdFusion MX 6.1: Added the mask character L or l to represent milliseconds.
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.