getHTTPTimeString

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

getHTTPTimeString(DateTime) → returns string

Argument Reference

DateTime date
Default: now()

Examples
Sample code invoking the getHTTPTimeString function

getHTTPTimeString("2017/8/8 14:12:10")

Expected Result: Tue, 08 Aug 2017 14:12:10 GMT

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub