5 ms·
I see no problem with that date. yy-mm-dd ensures that files are always ordered correctly by date.
by ColanR 9y ago
I see no problem with that date. yy-mm-dd ensures that files are always ordered correctly by date.
- bdamm 9y agoNot true in 2100.
- indrax 9y agoI don't know, but it is possible that the GW encodes something that increases once a century or faster. There is definitely more information in two letters than two digits.
- planteen 9y agoGW = gravitational wave https://en.wikipedia.org/wiki/List_of_gravitational_wave_observations https://en.wikipedia.org/wiki/List_of_gravitational_wave_obs...
- yorwba 9y agoThe formula (year - 2000) * 10000 + month * 100 + day can perfectly accommodate any future dates, until we change our calendar.
- delbel 9y agohowever if we invent time travel, and go back into the year 2000 we wouldn't be able to store any event data. furthermore, to get back, if that data field was used to store event data and the coordinates to get back to the current location of earth, could send you to a divide by zero coordinate and you wouldn't be able to get back. The solution is to just ban time travel to the year 2000 until a patch comes out
- wongarsu 9y agoBut without zero-padding, it will sort wrong when using lexiographic order (as is common). 1180101 would sort before 171204 in many contexts, even though it should clearly come behind the latter.
- ggus 9y agoThis is another reason why we should call this year 12017 [1], the next 12018, and so on. [1] http://www.popularmechanics.com/science/archaeology/a24195/case-for-a-new-calendar-12017/ http://www.popularmechanics.com/science/archaeology/a24195/c...