DEV Community

#datetime

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
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
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
One day, 25 hours: DateTime, DateTimeOffset and time zones in .NET

One day, 25 hours: DateTime, DateTimeOffset and time zones in .NET

Comments
8 min read
The Night the Clocks Went Back, Three Pairs of Camera Clips Came Out of the Zip With the Same Time

The Night the Clocks Went Back, Three Pairs of Camera Clips Came Out of the Zip With the Same Time

Comments
7 min read
The Korean zodiac year starts at a solar longitude, not on 1 January

The Korean zodiac year starts at a solar longitude, not on 1 January

Comments
5 min read
10 DST traps, 10 passes: I ran Jiff 1.0 against chrono

10 DST traps, 10 passes: I ran Jiff 1.0 against chrono

Comments
6 min read
Un paso fronterizo, dos relojes: cómo convertir horarios entre Argentina y Chile con zoneinfo (y la trampa de Aysén)

Un paso fronterizo, dos relojes: cómo convertir horarios entre Argentina y Chile con zoneinfo (y la trampa de Aysén)

Comments
4 min read
Zodiac date tables are wrong for about 1 birth in 80: I computed 972 Sun sign crossings

Zodiac date tables are wrong for about 1 birth in 80: I computed 972 Sun sign crossings

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