Y
Hacker News
new
|
ask
|
show
|
jobs
by
fastball
322 days ago
Not only is YYYY/MM/DD unambiguous, but it also sorts correctly by date when you perform a naive alphabetical sort.
1 comments
LoganDark
322 days ago
I believe YYYY-MM-DD is even less ambiguous than YYYY/MM/DD.
link
a96
322 days ago
Correct. Slashes mean it's a yank date and going to be backwards. Dashes hint that it's going to be (close to) ISO standard.
link
_Algernon_
322 days ago
And it doesn't use a path-separator character for the date.
link
tom_
322 days ago
Slashes are used for dd/mm/yyyy as well. Dashes are indeed better if you want a separator. or use the separator-free ISO 8601 syntax.
link
worik
320 days ago
I just use the number of peta-seconds since I was born....
link