Thursday, January 24, 2013

The way dates should be

Date formatting has long been a source of confusion for engineers and humans alike. In the U.S., the human standard is M/D/YY, while in the E.U., it's D/M/YY. IMHO, the euro standard is slightly better, because it progresses from smallest to largest, but it's still flawed. For one thing, it's often indistinguishable from the U.S. format: does 3/1/13 indicate January 3rd, or March 1st? Of course, if everyone used the Euro standard, then the ambiguity would be resolved, but my biggest complaint would remain: sorting. Both of these formats cause problems when sorted by a computer (for example, when sorting a directory of files by name). With either, March 3 2012 will be listed after January 1 2013. Fortunately, a solution is at hand.

So, here it is: the way dates should be:
YYYY-MM-DD

For example: 2013-01-24. Note the leading zero on the month (and this would apply to the day as well, if less than 10). This date format is unambiguous and will always be sorted correctly. I've taken to writing dates this way even in pen on paper, but I fear my one-man Occupy Date Format action will take a long time to catch fire. Still, I'm hoping to win converts. Meanwhile, I'm concerned with a more pressing debate over the order of things: the "R" and the "E" in the word "theater." Since TheaterMania (US) acquired WhatsOnStage (UK), we have divided opinions over whether it should be "theater" or "theatre." Again, there is a solution, and there is only one way the spelling of this word should be: we simply adopt Web 2.0 rules, and spell it theatr. Done and done.

1 comment:

  1. 소다카지노 홈페이지 화면에서 에비앙카지노를 클릭하시고 바로 입장하기를 카지노가입 쿠폰 클릭하시면 에비앙카지노 홈페이지에 접속​ 하실수있습니다. 배송 직원이 배송 중 기계가 손상된 경우, 책임 부분을 담당𝕘며 느슨𝕜 부분을 보상𝕩니다(환불 금액이 아님, 다음 순서로 무료 캐비닛 또는 부품을 발송). 마더보드, LCD, 전원장치, 부품 무상수리 기간 동안 예비 부품에 문제가 있을 경우 무료 예비 부품을 보내 부품을 다시 사용𝕠 수 있습니다. 오후1시30분부터텀블러등다회용컵을지참하고스타벅스부스에방문하는선착순고객500명에게아메리카노음료를무료로제공한다. └온라인카지노를 조금이라도 접해보셨던 분들이라면 우리카지노와 우리카지노계열 이란말을 들어보셨을겁니다.

    ReplyDelete