<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Date-Time on Pi Stack</title>
    <link>https://www.pistack.xyz/tags/date-time/</link>
    <description>Recent content in Date-Time on Pi Stack</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 14 Jul 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://www.pistack.xyz/tags/date-time/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>JavaScript Date/Time Library Comparison: Day.js vs Luxon vs date-fns vs js-joda</title>
      <link>https://www.pistack.xyz/posts/2026-07-14-javascript-datetime-libraries-dayjs-luxon-datefns-jsjoda/</link>
      <pubDate>Tue, 14 Jul 2026 00:00:00 +0000</pubDate>
      <guid>https://www.pistack.xyz/posts/2026-07-14-javascript-datetime-libraries-dayjs-luxon-datefns-jsjoda/</guid>
      <description>&lt;p&gt;Working with dates and times in JavaScript has a notorious reputation. The native &lt;code&gt;Date&lt;/code&gt; object, introduced in ECMAScript 1, is mutable, has an inconsistent API, and lacks basic functionality like timezone manipulation or date arithmetic. Over the years, a rich ecosystem of third-party libraries has emerged to fill these gaps. In this article, we compare four of the most popular JavaScript date/time libraries — &lt;strong&gt;Day.js&lt;/strong&gt;, &lt;strong&gt;Luxon&lt;/strong&gt;, &lt;strong&gt;date-fns&lt;/strong&gt;, and &lt;strong&gt;js-joda&lt;/strong&gt; — examining their APIs, bundle sizes, timezone support, and ideal use cases.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
