Skip to content

kumo.time.parse_rfc2822

Since: Dev Builds Only

The functionality described in this section requires a dev build of KumoMTA. You can obtain a dev build by following the instructions in the Installation section.

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'