> I'm writing a module to handle international date validation and I am
> looking to see just how many date formats their are. I currently have
>
> dd-mm-yy dutch
> yy-mm-dd swedish
> dd.mm.yy german
> dd/mm/yy european (english french)
> yy-dd-mm polish
> yy.mm.dd japanese
> yyyy-mm-dd ISO
there are more "short" date formats than you can shake a stick
at. just for instance, "yyyy. mm. dd." for hungarian, "dd/mm/yyyy"
for malaysia, "d. m. yyyy" for slovak, "d/m/yyyy" for thai. i think
japanese might be "yyyy/mm/dd".
you haven't even touched on the different calendars in use
(gregorian, buddhist, japanese emperor era, hebrew, tangun,
hijiri are just the more popular). you'll also have to determine
how to trap a user's locale. a can of worms, but ben's new cf5
book might have a chapter on this.....
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists