# 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](https://www.rfc-editor.org/rfc/rfc2822) 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

* [FileUpload](https://boxlang.ortusbooks.com/boxlang-framework/modularity/web-support/reference/built-in-functions/web/fileupload)
* [FileUploadAll](https://boxlang.ortusbooks.com/boxlang-framework/modularity/web-support/reference/built-in-functions/web/fileuploadall)
* [Forward](https://boxlang.ortusbooks.com/boxlang-framework/modularity/web-support/reference/built-in-functions/web/forward)
* [GetHTTPRequestData](https://boxlang.ortusbooks.com/boxlang-framework/modularity/web-support/reference/built-in-functions/web/gethttprequestdata)
* [GetPageContext](https://boxlang.ortusbooks.com/boxlang-framework/modularity/web-support/reference/built-in-functions/web/getpagecontext)
* [HtmlFooter](https://boxlang.ortusbooks.com/boxlang-framework/modularity/web-support/reference/built-in-functions/web/htmlfooter)
* [HtmlHead](https://boxlang.ortusbooks.com/boxlang-framework/modularity/web-support/reference/built-in-functions/web/htmlhead)
* [Location](https://boxlang.ortusbooks.com/boxlang-framework/modularity/web-support/reference/built-in-functions/web/location)
* [SetEncoding](https://boxlang.ortusbooks.com/boxlang-framework/modularity/web-support/reference/built-in-functions/web/setencoding)
