How to deal with date and time data
3.3 Representations
3.3.8 Date and time fields MUST be represented as strings and formatted according to RFC-3339 |
| Guidelines for dates and times |
| JSON serialization of dates and times |
| Durations |
| Intervals |
| Repeating intervals |
| Date property values should conform to RFC 3399 |
| Time durations and intervals could conform to ISO 8601 |
| Use Standard Date and Time Formats |
HTTP headers
Use the HTTP date format defined in RFC 7231 |
Common Data Types
data, time, interval, duration, timestamps |