in reply to Date format

Please don't. mm-dd-yyyy is probably not going to be easily understood outside of the United States of America (where dd-mm-yyyy is much more common). However, yyyy-mm-dd

And a special thanks to you for not using a 2-digit year. (:

        - tye (but my friends call me "Tye")

Replies are listed 'Best First'.
Re: (tye)Re: Date format
by Anonymous Monk on Mar 19, 2001 at 21:25 UTC
    I understand your concern. However, it is only going to be used within the US.
      Are you ever going to sort it?

      Are you ever going to have someone who (like me) grew up in a different country using it?

      Sometimes you have to do what the customer wants, but I strongly second tye's advice. Even if you think this will only be used in the US, if you can you want to use YYYY-MM-DD format.

      There are parts of the US in which d/m/y is more common, as well. In Florida, in particular, (although I'd expect Texas, Arizona, California, Lousiana, and probably Vermont and the Dakotas, if my ethnic stereotyping classes were correct) this is a constant problem. If M/D/Y were so popular, the IRS wouldn't have to print "month" and "day" on their forms.

      Besides which, almost all US institutions of any size -- federal government, military, large corporations, hospitals, &c. -- universally use y/m/d for their short form. It's even becoming standard on movie posters, and I've seen more than one 2001 wall calendar printed that way.

      IMHO, the only place in which it isn't just plain rude to use M/D/Y is if it's plainly labelled as such, or when the month (or possibly even the day) are written out: eg. January 01, 2001, or January the First, 2001.