DEV Community

#datetime

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
The time-zone bugs hiding in a 2,000-year-old calendar

The time-zone bugs hiding in a 2,000-year-old calendar

Comments
4 min read
A lottery window is two calendar events, not one: Japan's 16:29 JST deadlines in vanilla JS

A lottery window is two calendar events, not one: Japan's 16:29 JST deadlines in vanilla JS

Comments
3 min read
A BaZi chart is an astronomy problem, not a calendar lookup

A BaZi chart is an astronomy problem, not a calendar lookup

1
Comments
7 min read
Two months before 30 April is not 2 March: booking-window date maths in vanilla JS

Two months before 30 April is not 2 March: booking-window date maths in vanilla JS

Comments 1
3 min read
Counting working days in Germany is harder than it looks

Counting working days in Germany is harder than it looks

Comments
3 min read
Japan ticket drops as code: monthly, weekly and 'first Tuesday after' rules in vanilla JS

Japan ticket drops as code: monthly, weekly and 'first Tuesday after' rules in vanilla JS

Comments
4 min read
Computing Saju Day and Hour Pillars in JavaScript (and the 23:00 Problem)

Computing Saju Day and Hour Pillars in JavaScript (and the 23:00 Problem)

Comments
5 min read
A Holiday Flag Isn't Enough: Modeling Early Closes in a Business-Day Cutoff (NYSE vs. SIFMA, Dec 2026)

A Holiday Flag Isn't Enough: Modeling Early Closes in a Business-Day Cutoff (NYSE vs. SIFMA, Dec 2026)

1
Comments
6 min read
Store the Wall Time, Not the UTC Instant — Morocco's 2026 Time Change

Store the Wall Time, Not the UTC Instant — Morocco's 2026 Time Change

1
Comments
5 min read
Week 1 of 2027 Starts on January 4: ISO Week Numbers for Business-Day Planning

Week 1 of 2027 Starts on January 4: ISO Week Numbers for Business-Day Planning

Comments
6 min read
Is the market open? 38 stock exchange sessions in UTC with Python

Is the market open? 38 stock exchange sessions in UTC with Python

Comments
3 min read
Three date bugs in a 10-line age calculator (and the TZ= trick that exposes them)

Three date bugs in a 10-line age calculator (and the TZ= trick that exposes them)

1
Comments
3 min read
Who called me six times at night while I was abroad? Read the call log on the right clock

Who called me six times at night while I was abroad? Read the call log on the right clock

Comments
7 min read
Flying home for Christmas: why your countdown can be a day off after a time-zone change

Flying home for Christmas: why your countdown can be a day off after a time-zone change

Comments 1
5 min read
Three Business-Day Bugs I Keep Seeing: Weekend Sets, Substitute Holidays, and Off-by-One End Dates

Three Business-Day Bugs I Keep Seeing: Weekend Sets, Substitute Holidays, and Off-by-One End Dates

Comments
4 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.