Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use Temporal.ZonedDateTime.from() when an RFC 9557 timestamp includes a bracketed time-zone annotation, such as [America/New_York]. For an offset-bearing timestamp without a bracketed zone, parse it as a point in time with Temporal.Instant.from(); convert it to a named zone only if your application chooses one. If a timestamp supplies both an offset and a named zone, choose how your code should handle disagreement between the two.

Choose the Temporal type that matches the information in the timestamp

RFC 9557 defines Internet Extended Date/Time Format (IXDTF), an extension of RFC 3339 that can append a time-zone annotation and other information. The extension is optional, so an ordinary RFC 3339 timestamp can also be an IXDTF value. See the RFC 9557 specification.

Temporal type What it represents When to use it
Temporal.Instant A point on the timeline. The input has an offset or Z that identifies an instant, but you do not need to preserve a named time zone.
Temporal.ZonedDateTime An instant together with calendar and time-zone context. The input carries a bracketed zone and your application needs that zone’s rules, such as for region-based calendar arithmetic.
Temporal.PlainDateTime Local date and time fields without a zone-derived instant. The input is a wall-clock date and time, and no offset or zone is intended to identify an instant.

A numeric offset such as +09:00 describes the relationship to UTC at that timestamp. A named zone such as Asia/Tokyo identifies a rule set. They are not interchangeable when future local-time rules matter.

Parse a timestamp that includes a bracketed zone

Pass an RFC 9557 string with a bracketed time-zone ID to Temporal.ZonedDateTime.from():

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
const zdt = Temporal.ZonedDateTime.from(
  '2020-08-05T20:06:13+09:00[Asia/Tokyo]'
);

The timestamp gives both an offset and a named zone. The zone supplies regional rules; the offset is the value associated with that local date and time. If the offset conflicts with the zone’s rules, Temporal needs a resolution policy. By default, from() rejects the mismatch with a RangeError.

Parse an offset timestamp without a bracketed zone

A plain RFC 3339 timestamp such as 2020-08-05T11:06:13Z does not include the bracketed zone required by Temporal.ZonedDateTime.from(). If it represents an instant, parse it with Temporal.Instant.from():

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
const instant = Temporal.Instant.from('2020-08-05T11:06:13Z');

If the application needs a local representation, convert the instant to a zone selected independently by the application:

const tokyoView = instant.toZonedDateTimeISO('Asia/Tokyo');

This conversion does not recover a region zone from the original timestamp; it applies the zone you supply. Use Temporal.PlainDateTime instead only when the input is genuinely a local clock reading without a zone-derived instant.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Decide how to resolve an offset and zone mismatch

When the offset and named zone disagree, select an offset option based on which information your application must preserve. The Temporal documentation describes these behaviors in its time-zone ambiguity guidance.

Option Behavior Use when
use Follow the supplied offset and preserve the exact instant, even if the resulting local time differs from the zone’s rules. The timestamp’s instant is authoritative.
ignore Follow the named zone’s rules and preserve local time, even if the instant changes. The local clock reading and region rules are authoritative.
prefer Use the supplied offset when valid for the zone; otherwise use the zone’s rules. The offset is useful when consistent, but the zone should take over when it is not.
reject Throw a RangeError when the supplied offset conflicts with the zone. The conflict must be surfaced for correction or explicit handling. This is the default for from().

To make strict rejection explicit in code:

const value = Temporal.ZonedDateTime.from(input, { offset: 'reject' });

Understand the annotations and UTC notation

Bracketed zone names and tags

IXDTF can carry bracketed time-zone annotations and key/value tags. Tag keys are lowercase; values are case-sensitive unless their definition says otherwise. A ! before a zone name or tag marks it as critical. RFC 9557 requires a recipient to act on an inconsistency involving critical time-zone information; elective annotations do not impose that same requirement. Temporal parsing acceptance should not be treated as proof that an application has understood every annotation’s meaning. See RFC 9557.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

Z and +00:00 are not identical statements

RFC 9557 updates the interpretation of RFC 3339’s UTC notation: “If the time in UTC is known, but the offset to local time is unknown, this can be represented with an offset of "Z".” By contrast, +00:00 indicates UTC as the preferred reference point. Preserve the distinction if your application relies on what the original timestamp says about local-offset knowledge. The rule is in Section 2.2 of RFC 9557.

Offset-only annotations are not regional rule sets

RFC 9557 permits an offset-only zone such as [+01:00] for compatibility, but strongly discourages relying on it for calculations that need future local-time rules. Named IANA zones represent rule sets, and those rules can change as time-zone databases are updated. A previously stored offset and region zone can therefore disagree for future timestamps.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Validate RFC 9557 separately when strict conformance matters

Temporal’s documented parsing grammar accepts some ISO 8601 extensions that RFC 9557 does not define, including six-digit years. A successful call to Temporal.ZonedDateTime.from() therefore establishes that Temporal accepted the input, not that it conforms strictly to RFC 9557. If conformance is a requirement, validate against the RFC grammar separately. See the Temporal.ZonedDateTime documentation.

Temporal does not preserve leap seconds as distinct values. If a timestamp has a seconds field of 60, Temporal converts it to 59. Applications that must retain a distinct leap-second value need a different representation or processing approach, as noted in the Temporal documentation.

Round-trip a zoned value as a string

Temporal.ZonedDateTime.toString() produces an RFC 9557-style zoned string that can be passed back to Temporal.ZonedDateTime.from() to recreate the value’s fields. Output options control the offset, zone name, calendar annotation, and precision, so a serialized value can include a calendar suffix as well as a zone suffix. See the ZonedDateTime API documentation.

Check Temporal availability in your deployment targets

The API documentation describes Temporal behavior but does not provide a current runtime-by-runtime native support matrix. Check the JavaScript runtimes and versions used by your application before relying on native availability; do not assume the API exists everywhere JavaScript runs.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

References

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.