News for hackers. Stuff that matters.
Re:Fixing JavaScript's Date (2017) by DonaldFisk on Thursday February 27, 2020 @07:59PM (#22439640)
java.util.Date copied it from time.h and Javascript copied it from Java.util.Date.

ISO 8601 has a sensible date format which is an international standard. Gregorian calendar, YYYY-MM-DD, with MM from 01 to 12, and DD from 01 to 31. Days of the week are from 1 to 7, beginning with Monday.

java.util.Date has since been superseded by classes in java.time, which uses ISO 8601.

There are no comments on this comment yet.