Timeline for Is there any technical reason why, in programming, the default date format is YYYYMMDD and not something else?
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 3, 2018 at 2:43 | comment | added | Harper - Reinstate Monica | It also means you can select a sequence of dates with relatively simple regexp's... | |
| Sep 26, 2018 at 8:13 | comment | added | Peter Cordes | This is sort of a side-effect or another way of describing the sort-key order mentioned by other answers. But this explanation falls apart unless you restrict it to searching on prefixes. (Easier to index for, but by no means required). | |
| Sep 26, 2018 at 0:01 | comment | added | Quuxplusone | If 1970* and 197005* represent "glob" wildcard syntax, then you could search a bunch of MMDDYYYY dates by searching for the glob *1970 or 05*1970. Your answer might be implicitly assuming some extra constraint that you didn't explicitly mention, and could be improved by explaining your assumption. | |
| Sep 25, 2018 at 14:25 | comment | added | Cubic | Not really a great argument - it's just as common to search for things happening in specific months rather than specific years. | |
| Sep 25, 2018 at 8:37 | history | edited | mrvinent | CC BY-SA 4.0 | deleted 4 characters in body |
| Sep 25, 2018 at 8:35 | review | First posts | |||
| Sep 28, 2018 at 13:21 | |||||
| Sep 25, 2018 at 8:31 | history | answered | mrvinent | CC BY-SA 4.0 |