Date and time — Representations for information interchange — Part 2: Extensions — Amendment 1: Canonical expressions, extensions to time scale components and date time arithmetic

Date et heure — Représentations pour l'échange d'information — Partie 2: Extensions — Amendement 1: Titre manque

General Information

Status
Published
Publication Date
09-Jan-2025
Current Stage
6060 - International Standard published
Start Date
10-Jan-2025
Due Date
10-Jan-2025
Completion Date
10-Jan-2025
Ref Project

Relations

Buy Standard

Standard
ISO 8601-2:2019/Amd 1:2025 - Date and time — Representations for information interchange — Part 2: Extensions — Amendment 1: Canonical expressions, extensions to time scale components and date time arithmetic Released:10. 01. 2025
English language
13 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


International
Standard
ISO 8601-2
First edition
Date and time — Representations
2019-02
for information interchange —
AMENDMENT 1
Part 2:
2025-01
Extensions
AMENDMENT 1: Canonical
expressions, extensions to time scale
components and date time arithmetic
Reference number
ISO 8601-2:2019/Amd.1:2025(en) © ISO 2025

ISO 8601-2:2019/Amd.1:2025(en)
© ISO 2025
All rights reserved. Unless otherwise specified, or required in the context of its implementation, no part of this publication may
be reproduced or utilized otherwise in any form or by any means, electronic or mechanical, including photocopying, or posting on
the internet or an intranet, without prior written permission. Permission can be requested from either ISO at the address below
or ISO’s member body in the country of the requester.
ISO copyright office
CP 401 • Ch. de Blandonnet 8
CH-1214 Vernier, Geneva
Phone: +41 22 749 01 11
Email: copyright@iso.org
Website: www.iso.org
Published in Switzerland
ii
ISO 8601-2:2019/Amd.1:2025(en)
Foreword
ISO (the International Organization for Standardization) is a worldwide federation of national standards
bodies (ISO member bodies). The work of preparing International Standards is normally carried out through
ISO technical committees. Each member body interested in a subject for which a technical committee
has been established has the right to be represented on that committee. International organizations,
governmental and non-governmental, in liaison with ISO, also take part in the work. ISO collaborates closely
with the International Electrotechnical Commission (IEC) on all matters of electrotechnical standardization.
The procedures used to develop this document and those intended for its further maintenance are described
in the ISO/IEC Directives, Part 1. In particular, the different approval criteria needed for the different types
of ISO document should be noted. This document was drafted in accordance with the editorial rules of the
ISO/IEC Directives, Part 2 (see www.iso.org/directives).
ISO draws attention to the possibility that the implementation of this document may involve the use of (a)
patent(s). ISO takes no position concerning the evidence, validity or applicability of any claimed patent
rights in respect thereof. As of the date of publication of this document, ISO had not received notice of (a)
patent(s) which may be required to implement this document. However, implementers are cautioned that
this may not represent the latest information, which may be obtained from the patent database available at
www.iso.org/patents. ISO shall not be held responsible for identifying any or all such patent rights.
Any trade name used in this document is information given for the convenience of users and does not
constitute an endorsement.
For an explanation of the voluntary nature of standards, the meaning of ISO specific terms and expressions
related to conformity assessment, as well as information about ISO's adherence to the World Trade
Organization (WTO) principles in the Technical Barriers to Trade (TBT), see www.iso.org/iso/foreword.html.
This document was prepared by Technical Committee ISO/TC 154, Processes, data elements and documents in
commerce, industry and administration.
A list of all parts in the ISO 8601 series can be found on the ISO website.
Any feedback or questions on this document should be directed to the user's national standards body. A
complete listing of these bodies can be found at www.iso.org/members.html.

iii
ISO 8601-2:2019/Amd.1:2025(en)
Date and time — Representations for information
interchange —
Part 2:
Extensions
AMENDMENT 1: Canonical expressions, extensions to time scale
components and date time arithmetic

3.1.2
Add the following terminological entries after 3.1.2.13:
3.1.2.14
canonical form
date and time expression where all its time scale components are normalised (3.1.2.15)
Note 1 to entry: The canonical form of a date and time expression implies it contains minimal underflow and no
overflow.
3.1.2.15
normalise
process to ensure time scale components have values in their defined inclusive ranges
3.1.2.16
normalised duration
duration whose time scale components have values that are normalised (3.1.2.15)
Note 1 to entry: This also applies to negative durations.
3.1.2.17
overflow
state of a time scale component with a positive value when paired with a higher-order time scale component
it is unequivocally convertible with, that holds a value representing a duration exceeding one unit of the
higher-order time scale component
Note 1 to entry: A time scale component can only be in overflow when considered against a higher-order time scale
component it is unequivocally convertible with.
Note 2 to entry: The state of overflow is considered resolved if the time scale component has a value representing a
duration less than one unit of the higher-order time scale component.
EXAMPLE 1 A calendar day time scale component representing 10 calendar days is considered in overflow when
the higher-order time scale component considered is a calendar week, as the calendar day and calendar week are an
unequivocally convertible time scale component pair.
EXAMPLE 2 A calendar day time scale component representing 35 calendar days is not considered in overflow
when the higher-order time scale component considered is a calendar month, as the calendar day and calendar month
are not an unequivocally convertible time scale component pair.

ISO 8601-2:2019/Amd.1:2025(en)
3.1.2.18
underflow
state of a time scale component with a negative value when paired with a higher-order time scale component
it is unequivocally convertible with, where the result of combining the duration represented by the higher-
order time scale component and the duration represented by the lower-order time scale component is larger
than or equal to zero
Note 1 to entry: A time scale component can only be in underflow when considered against a higher-order time scale
component it is unequivocally convertible with.
Note 2 to entry: In resolving time scale component underflows, the negative value of the lower-order time scale
component can be expressed in a semantically equivalent form using a combination of the lower-order and higher-
order time scale components with values for both larger than or equal to zero.
EXAMPLE 1 A calendar month time scale component representing −8 calendar months is considered in underflow
when the higher-order time scale component considered is a calendar year with a value of 1 (which is equivalent to 12
calendar months), as the calendar month and calendar year are an unequivocally convertible time scale component pair.
EXAMPLE 2 A calendar day time scale component representing −60 calendar days is not considered in underflow
when the higher-order time scale component considered is a calendar month, as the calendar day and calendar month
are not an unequivocally convertible time scale component pair.
EXAMPLE 3 A calendar day time scale component representing −10 calendar days is considered in underflow when
the higher-order time scale component considered is a calendar week with a value of 2, but it is not considered in
underflow when the calendar week has a value of 1, since a calendar week is equivalent to 7 calendar days, which
when combined with −10 calendar days results in a duration less than zero.

14.5
Add the following subclause after 14.4:
14.5   Time scale component overflow and underflow
Time scale components described in this document and in ISO 8601-1 are each defined to accept a range
of values, some with a defined minimum or maximum value.
A date and time expression can contain time scale components with values outside the acceptable value
ranges of those components.
— A date and time expression is considered to have a normalised duration only if it does not contain
any time scale component in the state of overflow or underflow.
— A date and time expression is considered to have an “overflow” if it contains at least one time scale
component in the state of overflow.
EXAMPLE 1 The expression '1H90M' contains an overflow in the clock minute time scale component, as
the meaning of '90M' is equivalent to the expression '1H30M'.
EXAMPLE 2 The expression '1M90S' does not contain an overflow in the clock second time scale component,
as the meaning of '90S' cannot be identically expressed in an alternative combination of these two time scale
components, given that the clock minute and clock second are not an unequivocally convertible time scale
component pair.
— A date and time expression is considered to have an “underflow” if it contains at least one time scale
component in the state of underflow.

ISO 8601-2:2019/Amd.1:2025(en)
EXAMPLE 3 The expression '1H-10M' contains an underflow in the clock minute time scale component, as
the meaning of '1H-10M' (1 hour with 10 minutes before) can be identically expressed as '50M'.
EXAMPLE 4 The expression '2M-10S' does not contain an underflow in the clock second time scale
component, as the meaning of '2M-10S' cannot be identically expressed in an alternative combination of these
two time scale components, given that the clock minute and clock second are not an unequivocally convertible
time scale component pair.
An algorithm for resolving time scale component overflows within a date and time expression is provided
in D.3.1.
An algorithm for resolving time scale component underflows within a date and time expression is pro-
vided in D.3.3.
14.6
Add the following subclause after the newly added 14.5:
14.6  Time scale component conversion boundaries
Conversion of a time scale component into another time scale component is not always possible without
loss of information.
Certain pairs of time scale components are unequivocally convertible into each other as their conversions
are governed by deterministic relationships. These conversions are transitive.
Some pairs of time scale components cannot be unequivocally converted into each other, as they depend
on context-dependent duration (see D.2.2) or speculative duration (see D.2.3).
The presence of such a time scale components pair in a date and time expression marks a “time scale com-
ponent conversion boundary”, where conversions cannot occur across the pair without loss of information.
In the Gregorian calendar with the UTC 24-hour clock system, the following pairs of time scale components
are unequivocally convertible from and to each other:
— calendar century and calendar decade;
NOTE 1 In the Gregorian calendar system, a calendar century contains 10 calendar decades.

EXAMPLE 1 The date and time expression '28C' can always be converted into '280D' as the calendar
century and calendar year are an unequivocally convertible pair.
— calendar decade and calendar year;
NOTE 2 In the Gregorian calendar system, a calendar decade contains 10 calendar years.

EXAMPLE 2 The date and time expression '33D' can always be converted into '330Y' as the calendar
decade and calendar year are an unequivocally convertible pair.
— calendar year and calendar month;
NOTE 3 In the Gregorian calendar system, a calendar year contains 12 calendar months.

EXAMPLE 3 The date and time expression '20M' can always be converted into '1Y8M' as the calendar

year and calendar month are an unequivocally convertible pair.
— calendar week and calendar day;
NOTE 4 In the Gregorian calendar system, a calendar week contains 7 calendar days.

ISO 8601-2:2019/Amd.1:2025(en)
EXAMPLE 4 The date and time expression '108D' can always be converted into '15W3D' as the calendar
week and calendar day are an unequivocally convertible pair.
— calendar day and clock hour;
NOTE 5 In the Gregorian calendar system as applied with the UTC 24-hour clock system, a calendar day

contains 24 clock hours.
EXAMPLE 5 The date and time expression 'T26H' can always be converted into '1DT2H' as the calendar

day and clock hour are an unequivocally convertible pair.
— clock hour and clock minute.
NOTE 6 In the UTC 24-hour clock system, a clock hour contains 60 clock minutes.

EXAMPLE 6 The date and time expression 'T1H120M' can always be converted into 'T3H' as the clock

hour and clock minute are an unequivocally convertible pair.
The following pairs of time scale components are not unequivocally convertible from and to each other:
— calendar year and calendar week;
NOTE 7 In the Gregorian calendar system, a calendar year contains 52 or 53 calendar weeks.

EXAMPLE 7 The date and time expression '3Y55W' cannot be unequivocally converted into '4Y3W' as the
calendar year and calendar week are not an unequivocally convertible pair.
— calendar year and calendar day
NOTE 8 In the Gregorian calendar system, a calendar year contains 365 or 366 calendar days.

EXAMPLE 8 The date and time expression '1Y366D' cannot be unequivocally converted into '2Y1D' or
'2Y' as the calendar year and calendar day is a time scale component conversion boundary pair that depends
on context-dependent duration. In this example the results are ambiguous depending on the actual calendar
year this expression is evaluated in.
— calendar month and calendar day
NOTE 9 In the Gregorian calendar system, a calendar month contains 28, 29, 30 or 31 calendar days.
EXAMPLE 9 The date and time expression '3M30D' cannot be unequivocally converted into another

expression form as the calendar month and calendar day is a time scale component conversion boundary
pair that depends on context-dependent duration. In this example the results are ambiguous depending on
the actual calendar month this expression is evaluated in.
— clock minute and clock second
NOTE 10 In the UTC 24-hour clock system, a clock minute contains 59, 60 or 61 clock seconds.
EXAMPLE 10 The date and time expression '59M120S' cannot be further simplified without further

context as the clock minute and clock second is a time scale component conversion boundary pair that
depends on context-dependent duration.
The notion of context-independent conversion extends beyond the explicit pairs of time scale components
mentioned. The result of a date and time expression does not change with time scale component conversion
as long as the time scale component conversion boundaries are not crossed. Certain date and time expres-
sions syntaxes that do not depend on c
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.