Timeformat - MACROMEDIA COLDFUSION MX 61-CFML Reference

Cfml reference
Hide thumbs Also See for COLDFUSION MX 61-CFML:
Table of Contents

Advertisement

TimeFormat

Description
Formats a time value using US English time formatting conventions.
Returns
A custom-formatted time value. If no mask is specified, returns a time value using the
format. For international time formatting, see
Category
Date and time
functions,
Function syntax
TimeFormat(time [, mask ])
See also
CreateTime, Now, ParseDateTime, LSTimeFormat,
History
ColdFusion MX 6.1: Added the mask character L or l to represent milliseconds.
ColdFusion MX:
Changed the way extra characters are processed: this function processes extra characters within
the
value differently than in earlier releases, as follows:
mask
ColdFusion 5 and earlier: the function returns the time format and an apostrophe-delimited
list of the extra characters. For example,
8:17:23 d'o'g
ColdFusion MX: the function returns the time format and the extra characters. For
example, for the call above, it returns
If the extra characters are single-quoted (for example,
ColdFusion MX return the time format and the extra characters:
Added support for the following
Display and formatting functions
.
8:17:23 dog
attribute options:
mask
.
LSTimeFormat
DateFormat
TimeFormat(Now(), "hh:mm:ss dog")
.
hh:mm:ss 'dog')
,
short
medium
hh:mm tt
returns
, ColdFusion 5 and
.
8:17:23 dog
,
, and
long
full
TimeFormat
.
719

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents