Convert between UTC date strings and POSIX times.
Inflate a Posix integer into a more memory-intensive UTC date string.
It's generally best to avoid doing this unless an external API requires it.
(UTC integers are less error-prone, take up less memory, and are more efficient for time arithmetic.)
Format: Www, dd Mmm yyyy hh:mm:ss GMT
Convert from a UTC date string to a Time.Posix value.
Time.Posix
UTC date strings are always GMT. This function returns a time in UTC/GMT.
Decode a UTC date string to a Time.Posix value using toTime.
toTime
Encode a Time.Posix value as a UTC date string using fromTime.
fromTime
Inflate a Posix integer into a more memory-intensive UTC date string.
It's generally best to avoid doing this unless an external API requires it.
(UTC integers are less error-prone, take up less memory, and are more efficient for time arithmetic.)
Format: Www, dd Mmm yyyy hh:mm:ss GMT