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

Iso8601 for the win!


I am kinda shocked no one has posted this yet: https://xkcd.com/1179/


Only for dates. It is horribly broken once you start involving timezones.


What isn't horribly broken once you start involving timezones? Also daylight saving (summer) time. What else?


Not if you always use UTC; just stick a Z on the end and be done with it.


2023-03-25=1995


03-25-2023=-2045


And, for fun

    >>> 3/25/2023
    5.931784478497281e-05




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

Search: