This function takes one argument, a ColdFusion date/time object, and returns the time formatted as a string according to the HTTP standard described in RFC 1123.
GetHttpTimeString(date_time_object)
| Parameter |
Description |
|---|---|
| date_time_object |
A ColdFusion date-time object |
The time in the returned string is Greenwich Mean Time (GMT), consistent with the HTTP standard.
<cfoutput>
#GetHttpTimeString("#Now()#")#<br>
</cfoutput>