tags:

views:

407

answers:

3

Is there any source on the web where I could find date and time formats used in individual countries in the World? I was checking languages listed in Control panel in Windows, but there are some countries missing (for example countries in Africa etc.).

I found some locale tables on the web, but these usualy differ from settings in Windows, so I don't know which version to use.

Thank you, Petr

+1  A: 

This webpage shows how to use date and time based on culture settings:
http://msdn.microsoft.com/en-us/library/5hh873ya.aspx

I'm assuming you're programming something so this would probably help you create a date-time based on the environmental settings.

As for using Windows settings vs researched settings, go with Windows settings if you're making something for Windows.

apandit
+1 for using Windows settings rather than your own settings when coding for Windows. Coding for the Web might involve a little more coding and configuration to allow for the same effect, but is still possible (and very nice when implemented correctly).
Raithlin
+1  A: 

This wikipedia page is the most comprehensive I've found, but it suffers from much the same problem you noted in Control Panel. Maybe you can help by updating it with any information you've found independently?

Bill the Lizard
+4  A: 

The Common Locale Data Repository is an excellent resource for locale data. From the website you can download an xml version of the database, which includes datetime formats, number formats, and lots of other locale specific data.

Daryl
Expand on this answer, and the acronym - Common Locale Data Repository; the people asking won't know what it is. You'll get better marks with a more loquacious answer.
Jonathan Leffler