Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

yyyy-mm-dd is the iso standard, w/ the benefits of logical consistency (larger to smaller units left to right) and -- best of all -- sortability.


In any case there are two sane ways to write dates, and the middle-endian format is not one of them.


The other is the US military one 14FEB2025,yes? That and ISO are all we need.


That military style uses little endian so it belongs in the sane formats category.

However, with ISO you're likely referring to RFC3339. The full ISO8601 standard allows insane date representations you're not going to see anywhere but the documentation that explains them.


The only problem is that it puts the most important information last and the least important first (going by "what do I most likely need to see and cannot infer from context", ie I likely already know the year and possibly the month).


Who cares? How much time are you going to lose from that? Like, 0.15s every time you read a date. Big woop.


It has been a problem for me when the last part gets truncated (e.g. with an ellipses).





Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: