I'm not especially interested in converting dates and times on the way in, but they're not something you can really ignore on the way out. So while not a top concern, it might be a good idea to make available some convenience functions for coercing dates, times, and time zones to RFC 3339 strings.
5.8. Examples
Here are some examples of Internet date/time format.
1985-04-12T23:20:50.52Z
This represents 20 minutes and 50.52 seconds after the 23rd hour of
April 12th, 1985 in UTC.
1996-12-19T16:39:57-08:00
This represents 39 minutes and 57 seconds after the 16th hour of
December 19th, 1996 with an offset of -08:00 from UTC (Pacific
Standard Time). Note that this is equivalent to 1996-12-20T00:39:57Z
in UTC.
I'm not especially interested in converting dates and times on the way in, but they're not something you can really ignore on the way out. So while not a top concern, it might be a good idea to make available some convenience functions for coercing dates, times, and time zones to RFC 3339 strings.
For reference, the IETF spec and some examples: