| CFML Reference
|
|
ColdFusion Functions
|
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>
|
Copyright © 2001, Macromedia Inc. All rights reserved. |
|
|