GetHttpTimeString
Description
Gets the current time, in the Universal Time code (UTC).
Returns
The time, as a string, according to the HTTP standard described in RFC 1123 and its underlying
RFC, 822. This format is commonly used in Internet protocols, including HTTP.
Category
Date and time
functions,
Function syntax
GetHttpTimeString(date_time_object)
See also
,
GetLocale
GetTimeZoneInfo
Parameters
Parameter
date_time_object
Usage
The time in the returned string is UTC, consistent with the HTTP standard.
Example
<cfoutput>
#GetHttpTimeString(now())#
</cfoutput>
International functions
,
SetLocale
Description
A ColdFusion date-time object string or Java Date object
GetHttpTimeString
613