GetHttpTimeString

Description

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.

Category

Date and time functions

Syntax


GetHttpTimeString(date_time_object) 

Parameters

Parameter
Description
date_time_object
A ColdFusion date-time object

Usage

The time in the returned string is Greenwich Mean Time (GMT), consistent with the HTTP standard.

Example

<cfoutput>

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

</cfoutput>



Banner.Novgorod.Ru