Discussion about this post

User's avatar
Neural Foundry's avatar

Excellent breakdown on the DST billing trap. The fact that toDateTimeAtStartOfDay handles ambigious midnight cases is somethng most legacy systems miss completely. I ran into this exact issue on an invocing system where we'd just use withHourOfDay(0) and wondered why Q1 reconciliations always had timezone-specific discrepancies.

No posts

Ready for more?