{"id":5191,"date":"2025-02-14T10:26:10","date_gmt":"2025-02-14T15:26:10","guid":{"rendered":"https:\/\/frontendmasters.com\/blog\/?p=5191"},"modified":"2025-02-18T10:02:44","modified_gmt":"2025-02-18T15:02:44","slug":"javascript-temporal-is-coming","status":"publish","type":"post","link":"https:\/\/frontendmasters.com\/blog\/javascript-temporal-is-coming\/","title":{"rendered":"JavaScript Temporal is Coming"},"content":{"rendered":"\n<p><a href=\"https:\/\/developer.mozilla.org\/en-US\/blog\/javascript-temporal-is-coming\/\">Brian Smith on MDN<\/a>:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>This is big news for web developers because working with dates and times in JavaScript will be hugely simplified and modernized.<\/p>\n<\/blockquote>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Temporal is designed as a full replacement for the&nbsp;<a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Global_Objects\/Date\"><code>Date<\/code><\/a>&nbsp;object, making date and time management reliable and predictable. Temporal adds support for time zone and calendar representations, many built-in methods for conversions, comparisons and computations, formatting, and more.<\/p>\n<\/blockquote>\n\n\n\n<p>Over 200 utility methods! (<a href=\"https:\/\/docs.timetime.in\/blog\/js-dates-finally-fixed\/\">Good blog post from Iago Lastra<\/a>.)<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>To help you get up to speed, there are over&nbsp;<a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Global_Objects\/Temporal\">270 pages of Temporal docs on MDN<\/a>&nbsp;added this week, with detailed explanations and examples.<\/p>\n<\/blockquote>\n\n\n\n<p>Coming when? I can&#8217;t tell you, but I do find it notable that there are experimental implementations already and that all three (Firefox\/Safari\/Chrome) are actively working on it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Brian Smith on MDN: This is big news for web developers because working with dates and times in JavaScript will be hugely simplified and modernized. Temporal is designed as a full replacement for the&nbsp;Date&nbsp;object, making date and time management reliable and predictable. Temporal adds support for time zone and calendar representations, many built-in methods for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5192,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[29],"tags":[46],"class_list":["post-5191","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-the-beat","tag-date-time"],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/frontendmasters.com\/blog\/wp-content\/uploads\/2025\/02\/temporal.png?fit=1174%2C616&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/5191","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/comments?post=5191"}],"version-history":[{"count":3,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/5191\/revisions"}],"predecessor-version":[{"id":5229,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/5191\/revisions\/5229"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/media\/5192"}],"wp:attachment":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/media?parent=5191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/categories?post=5191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/tags?post=5191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}