Loading lesson path
Concept visual
Start from A
Temporal dates can be serialized as strings in different ways:
Intl.DateTimeFormat()
International Standard for representing dates and times.
Formula
ISO 8601 is a machine - readable format (YYYY - MM - DD) designed to eliminate confusion caused by regional date variations.It follows a "largest to smallest" hierarchy (year, month, day, hour, minute, second) which ensures that dates are alphabetically sortable. ISO 8601 avoids confusion between regional formats like:
Formula
MM/DD/YYYY (US format)
DD/MM/YYYY (European format)An ISO 8601 string represents dates and times in a structured and sortable format:
Formula
A 4 - digit yearMM
Formula
2 - digit monthDD
Formula
2 - digit dayT
Z Zero (Zulu) time Zone