GetHTTPTimeString
Returns the legacy HTTP TimeString as specified for the now-obsolete RFC 1123/RCF 822.
Example: Sat, 10 Jan 2026 17:09:26 GMT
This method should be used for legacy compatibility with older CFML engines and is not recommended for new code. The updated specification, RFC 2822 should be used for new implemenations. ( e.g. Sat, 10 Jan 2026 17:09:26 +0000)
Method Signature
GetHTTPTimeString(date=[any])Arguments
Argument
Type
Required
Description
Default
date
any
false
The date object to convert to HTTP time string. If not provided, the current date and time is used.
now()
Examples
Related
Last updated
Was this helpful?
