Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
C0D4681467yYYYY-MM-DD HH:II:SS
It’s sortable, it’s usable, and you can’t get it wrong unless you really try. -
mmyelf577yI wouldn't want to enforce a universal datetime format because there can be many different requirements in different scenarios that cannot be satisfied in one single format.
For example:
-has to be short
-has to include the timezone
-has to include day of week
-has to account for hours that exist twice because of daylight saving time
-has to satisfy regional conventions
-has to be sortable
-has to include the name of the month
And so on -
stisch48147yUNIX EPOCH TIMESTAMPS, GMT.
Everyone can wear big-ass red LCD watches that are 15 characters long, how cool would that be? Plus no more time zone / daylight savings nonsense.
Related Rants
If you had the power to enforce a datetime format globally, which one would you choose?
question
datetime hell