Files
kumomta/docs/reference/kumo.time/parse_rfc2822.md
T
2025-12-02 11:11:05 +00:00

339 B

kumo.time.parse_rfc2822

{{since('2025.12.02-67ee9e96')}}

local time = kumo.time.parse_rfc2822(TIMESTAMP)

Parses a timestamp in RFC 2822 format, and returns a Time object.

Example

local t = kumo.time.parse_rfc2822 'Sun, 2 Jan 2000 03:04:05 +0000'