r/ProgrammerHumor • • Feb 09 '18

Timezone Support

Post image
31.3k Upvotes

532 comments sorted by

View all comments

Show parent comments

3

u/ColtonProvias Feb 10 '18

The idea behind ISO8601 is to go from the largest unit of time to the smallest. It greatly simplifies operations such as sorting by date/time and is easier to parse. Plus, when reading dates, saying 29/02 is invalid about 3/4 of the time, so it helps speed things up by knowing the year first to help enforce leap year constraints.

1

u/BlueLiara Feb 10 '18

Makes sense, I was mostly thinking of a UX End user perspective