Contents > CFML Reference > ColdFusion Functions > GetHttpTimeString PreviousNext

GetHttpTimeString

Gets the current time, in the Universal Time code (UTC).

The time, as a string, according to the HTTP standard described in RFC 1123.

Date and time functions, International functions

GetHttpTimeString(date_time_object)

GetLocale, GetTimeZoneInfo, SetLocale

Parameter

Description

date_time_object

A ColdFusion date-time object string or Java Date object

The time in the returned string is UTC, consistent with the HTTP standard.

<cfoutput>
#GetHttpTimeString("#Now()#")#<br>
</cfoutput>

Contents > CFML Reference > ColdFusion Functions > GetHttpTimeString PreviousNext

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6.1

Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.