---
name: "Time.rfc2822Time"
section: "3kaya"
platform: "linux"
package: "kaya"
version: "0.4.4-6.2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/Time.rfc2822Time"
---

# Time.rfc2822Time(3kaya)

Return an RFC 2822 time

## NAME

Time::rfc2822Time - Return an RFC 2822 time

## SYNOPSIS

**String rfc2822Time(** *Time t, String tz="+0000"* **)**

## ARGUMENTS

**t** The Time

**tz** The timezone (optional, defaults to "+0000")

## DESCRIPTION

Format a Time according to RFC 2822 for use in email or HTTP.

## AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

## LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

## RELATED

**Time.Time (3kaya)**

**Time.parseRFC2822 (3kaya)**
