Rfc1123DateTime (rfc1123_datetime v0.1.2)
RFC 1123 date time parser.
Link to this section Summary
Link to this section Functions
Link to this function
parse(date)
Parse a RFC 1123 date time string.
example
Example
iex> Rfc1123DateTime.parse("Mon, 01 Jan 2000 00:00:00 GMT")
Link to this function
to_string(datetime)
Format a RFC 1123 date time string.
example
Example
iex> Rfc1123DateTime.to_string(~U[2000-01-01 00:00:00Z]) "Sat, 01 Jan 2000 00:00:00 GMT"