Re: [saag] Date formats: RFC3339 vs. RFC 5322

Peter Gutmann <pgut001@cs.auckland.ac.nz> Thu, 15 April 2021 13:36 UTC

Return-Path: <pgut001@cs.auckland.ac.nz>
X-Original-To: saag@ietfa.amsl.com
Delivered-To: saag@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 78DBC3A2011 for <saag@ietfa.amsl.com>; Thu, 15 Apr 2021 06:36:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kIOG3NKR4yzZ for <saag@ietfa.amsl.com>; Thu, 15 Apr 2021 06:36:29 -0700 (PDT)
Received: from au-smtp-delivery-117.mimecast.com (au-smtp-delivery-117.mimecast.com [103.96.23.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7DC5C3A200F for <saag@ietf.org>; Thu, 15 Apr 2021 06:36:28 -0700 (PDT)
Received: from AUS01-ME3-obe.outbound.protection.outlook.com (mail-me3aus01lp2241.outbound.protection.outlook.com [104.47.71.241]) (Using TLS) by relay.mimecast.com with ESMTP id au-mta-80-FD35FvIFP_qAUvhc2k-5Ag-1; Thu, 15 Apr 2021 23:36:23 +1000
X-MC-Unique: FD35FvIFP_qAUvhc2k-5Ag-1
Received: from PS2PR06CA0002.apcprd06.prod.outlook.com (2603:1096:300:56::14) by SYXPR01MB1104.ausprd01.prod.outlook.com (2603:10c6:0:a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.20; Thu, 15 Apr 2021 13:36:21 +0000
Received: from PU1APC01FT043.eop-APC01.prod.protection.outlook.com (2603:1096:300:56:cafe::2c) by PS2PR06CA0002.outlook.office365.com (2603:1096:300:56::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.16 via Frontend Transport; Thu, 15 Apr 2021 13:36:21 +0000
X-MS-Exchange-Authentication-Results: spf=none (sender IP is 130.216.95.224) smtp.mailfrom=cs.auckland.ac.nz; gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=cs.auckland.ac.nz
Received: from uxcn13-ogg-d.UoA.auckland.ac.nz (130.216.95.224) by PU1APC01FT043.mail.protection.outlook.com (10.152.253.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4042.16 via Frontend Transport; Thu, 15 Apr 2021 13:36:20 +0000
Received: from uxcn13-ogg-d.UoA.auckland.ac.nz (10.6.2.5) by uxcn13-ogg-d.UoA.auckland.ac.nz (10.6.2.5) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 16 Apr 2021 01:36:18 +1200
Received: from uxcn13-ogg-d.UoA.auckland.ac.nz ([10.6.2.5]) by uxcn13-ogg-d.UoA.auckland.ac.nz ([10.6.2.5]) with mapi id 15.00.1497.015; Fri, 16 Apr 2021 01:36:18 +1200
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: Henry Story <henry.story@gmail.com>, Yakov Shafranovich <yakov@nightwatchcybersecurity.com>, "saag@ietf.org" <saag@ietf.org>
Thread-Topic: [saag] Date formats: RFC3339 vs. RFC 5322
Thread-Index: AQHXMJUbN4XJLPxzhEeoIfUp+FDGsqq0zGoAgADKG6g=
Date: Thu, 15 Apr 2021 13:36:18 +0000
Message-ID: <1618493778732.39296@cs.auckland.ac.nz>
References: <CAAyEnSMBdXCA0EvgR79P_1gi15pAPfeyu_HgGqgMjWxRP8sxKg@mail.gmail.com>, <ADC7ED48-8D36-41C0-9AD5-3154419216C7@gmail.com>
In-Reply-To: <ADC7ED48-8D36-41C0-9AD5-3154419216C7@gmail.com>
Accept-Language: en-NZ, en-GB, en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [130.216.158.4]
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: fe442ce3-2e9d-4d34-028f-08d900137474
X-MS-TrafficTypeDiagnostic: SYXPR01MB1104:
X-Microsoft-Antispam-PRVS: <SYXPR01MB11046EC2A88EA17E5AAB777EEE4D9@SYXPR01MB1104.ausprd01.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:2958
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0
X-Microsoft-Antispam-Message-Info: WsEYoR04C9tsBzJ46iTZXSz3iZ7Ecxf1Xe2HhD60Jsxj/OdxlT+0hNf1cldf2feIX3Ppyv4udFYZOSEGLJi7qiywCgWaERqhydSQ9nUp1lu+9nELuhp9YNJLqCQHiMEmMdTgw6+/u4gqIVHcnh7i8d9B7qIph3lGZz3V6u13cuCoHySv9OTscae6IcaJ0SbZ2bj/gprO9/KZh+//ChWjsx1VsBlCxd8CP3xb7KYez0kzb+N6VRDkmKo/821CAepmM7EJxJ8+zlY3xVq0684yNQGaJTnQUuYIOE3KYYY5QUh/8xhgBlSuikIhFFyYUzG8myLVa7BHrixFtTBCnQWa5Sbkgz5gH/ZqtfA2g8ien4k+1JvyXnDIS6hzoXTtuQIYOaU9GXl3G3faA6s0Hd7Bpl4mVjlB5hoY77SpyvUXHmFGZJ3HfHv28zR2eN54g2NDHtWGdxI1HvxZZ6OMJBzlzOAtyEIfxcpNK7agv3t8Sdl9MYfAKRsITCHkrTq3HycT5k2wfLoYxpAMiWX5SYwYB1OC4wc7SwyNtgAS9XDnuitT7YxYByOBOwHenaDbP+Col2wwIAF+lJz3zN/QfPAKsBxFSURGoE8o7PnPvzdgKqHXkuRMAE8qmug2bmOhHBGTzpKk/zEs8iriJqzBU+Sk7TV2Irol2Gcr5Wxw37tQr94=
X-Forefront-Antispam-Report: CIP:130.216.95.224; CTRY:NZ; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:uxcn13-ogg-d.UoA.auckland.ac.nz; PTR:natgate2-1.auckland.ac.nz; CAT:NONE; SFS:(4636009)(376002)(39830400003)(136003)(396003)(346002)(46966006)(36840700001)(2616005)(478600001)(786003)(356005)(26005)(2906002)(110136005)(47076005)(36906005)(7636003)(336012)(316002)(4744005)(8676002)(36860700001)(70586007)(5660300002)(70206006)(8936002)(82310400003)(86362001)(186003); DIR:OUT; SFP:1101
X-OriginatorOrg: cs.auckland.ac.nz
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Apr 2021 13:36:20.3576 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: fe442ce3-2e9d-4d34-028f-08d900137474
X-MS-Exchange-CrossTenant-Id: d1b36e95-0d50-42e9-958f-b63fa906beaa
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=d1b36e95-0d50-42e9-958f-b63fa906beaa; Ip=[130.216.95.224]; Helo=[uxcn13-ogg-d.UoA.auckland.ac.nz]
X-MS-Exchange-CrossTenant-AuthSource: PU1APC01FT043.eop-APC01.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SYXPR01MB1104
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: cs.auckland.ac.nz
Content-Language: en-NZ
Content-Type: text/plain; charset="WINDOWS-1252"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/saag/LrcqybZpi_GyCp2_TPga1oX-hFs>
Subject: Re: [saag] Date formats: RFC3339 vs. RFC 5322
X-BeenThere: saag@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Security Area Advisory Group <saag.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/saag>, <mailto:saag-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/saag/>
List-Post: <mailto:saag@ietf.org>
List-Help: <mailto:saag-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/saag>, <mailto:saag-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Apr 2021 13:36:31 -0000

Henry Story <henry.story@gmail.com> wrotes:

>What about unix time: seconds or milliseconds since the Unix Epoch?

If you're going to use epoch-based stuff then go with Julian dates, which is a
well-established way of fixing moments in time with arbitrary levels of
precision.  It's currently 2459320.0656944.

Peter.