Date and Time on the Internet: Timestamps with additional information
draft-ryzokuken-datetime-extended-01

Document Type Active Internet-Draft (individual)
Author Ujjwal Sharma 
Last updated 2021-01-22
Stream (None)
Intended RFC status (None)
Formats plain text html xml pdf htmlized (tools) htmlized bibtex
Additional Resources
- GitHub Username: ryzokuken
- GitHub Repository
- Additional Web Page
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Calendaring Extensions Working Group                           U. Sharma
Internet-Draft                                              Igalia, S.L.
Obsoletes: 3339 (if approved)                            22 January 2021
Intended status: Standards Track                                        
Expires: 26 July 2021

 Date and Time on the Internet: Timestamps with additional information
                  draft-ryzokuken-datetime-extended-01

Abstract

   This document defines a date and time format for use in Internet
   protocols for representation of dates and times using the proleptic
   Gregorian calendar, with optional extensions representing additional
   information including a time zone.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on 26 July 2021.

Copyright Notice

   Copyright (c) 2021 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents (https://trustee.ietf.org/
   license-info) in effect on the date of publication of this document.
   Please review these documents carefully, as they describe your rights
   and restrictions with respect to this document.  Code Components
   extracted from this document must include Simplified BSD License text
   as described in Section 4.e of the Trust Legal Provisions and are
   provided without warranty as described in the Simplified BSD License.

Sharma                    Expires 26 July 2021                  [Page 1]
Internet-Draft             Timestamps Extended              January 2021

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Definitions . . . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  Two Digit Years . . . . . . . . . . . . . . . . . . . . . . .   4
   4.  Local Time  . . . . . . . . . . . . . . . . . . . . . . . . .   4
     4.1.  Coordinated Universal Time (UTC)  . . . . . . . . . . . .   4
     4.2.  Local Offsets . . . . . . . . . . . . . . . . . . . . . .   4
     4.3.  Unknown Local Offset Convention . . . . . . . . . . . . .   5
     4.4.  Unqualified Local Time  . . . . . . . . . . . . . . . . .   5
   5.  Date and Time format  . . . . . . . . . . . . . . . . . . . .   6
     5.1.  Ordering  . . . . . . . . . . . . . . . . . . . . . . . .   6
     5.2.  Human Readability . . . . . . . . . . . . . . . . . . . .   6
     5.3.  Rarely Used Options . . . . . . . . . . . . . . . . . . .   7
     5.4.  Redundant Information . . . . . . . . . . . . . . . . . .   7
     5.5.  Simplicity  . . . . . . . . . . . . . . . . . . . . . . .   7
     5.6.  Informative . . . . . . . . . . . . . . . . . . . . . . .   7
     5.7.  Namespaced  . . . . . . . . . . . . . . . . . . . . . . .   8
     5.8.  Internet Date/Time Format . . . . . . . . . . . . . . . .  11
     5.9.  Restrictions  . . . . . . . . . . . . . . . . . . . . . .  12
     5.10. Examples  . . . . . . . . . . . . . . . . . . . . . . . .  13
   6.  Security Considerations . . . . . . . . . . . . . . . . . . .  15
   7.  Normative references  . . . . . . . . . . . . . . . . . . . .  15
   8.  Bibliography  . . . . . . . . . . . . . . . . . . . . . . . .  16
   Appendix A.  Day of the Week  . . . . . . . . . . . . . . . . . .  16
   Appendix B.  Leap Years . . . . . . . . . . . . . . . . . . . . .  17
   Appendix C.  Leap Seconds . . . . . . . . . . . . . . . . . . . .  17
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .  19

1.  Introduction

   Date and time formats cause a lot of confusion and interoperability
   problems on the Internet.  This document addresses many of the
   problems encountered and makes recommendations to improve consistency
   and interoperability when representing and using date and time in
   Internet protocols.

   This document includes an extension to an Internet profile of the
   [ISO8601] standard for representation of dates and times using the
   proleptic Gregorian calendar alongside any additional information.

   There are many ways in which date and time values might appear in
   Internet protocols: this document focuses on just one common usage,
   viz. timestamps for Internet protocol events.  This limited
   consideration has the following consequences:

   *  All dates and times are assumed to be in the "current era",
Show full document text