Search Locate Previous Next Contents

Locale – for formatted dates or times

When a date or time format is set, RainPro defaults to generating the formatted value in the style for your default locale. To have a server application use a different format (e.g. to create a date suitable for the locale passed in the HTTP header) you may set the locale as a simple decimal integer.

ch.Set 'locale' 1035

This example will format dates and times in Finnish, regardless of the setup of your machine.

Language table
HexDecLocale
00000Language Neutral
04001024Process or User Default Language
08002048System Default Language
04361078Afrikaans
041c1052Albanian
04011025Arabic (Saudi Arabia)
08012049Arabic (Iraq)
0c013073Arabic (Egypt)
10014097Arabic (Libya)
14015121Arabic (Algeria)
18016145Arabic (Morocco)
1c017169Arabic (Tunisia)
20018193Arabic (Oman)
24019217Arabic (Yemen)
280110241Arabic (Syria)
2c0111265Arabic (Jordan)
300112289Arabic (Lebanon)
340113313Arabic (Kuwait)
380114337Arabic (U.A.E.)
3c0115361Arabic (Bahrain)
400116385Arabic (Qatar)
042b1067Windows 2000/XP: Armenian. This is Unicode only.
042c1068Azeri (Latin)
082c2092Azeri (Cyrillic)
042d1069Basque
04231059Belarusian
04021026Bulgarian
04551109Burmese
04031027Catalan
04041028Chinese (Taiwan)
08042052Chinese (PRC)
0c043076Chinese (Hong Kong SAR, PRC)
10044100Chinese (Singapore)
14045124Windows 98/Me, Windows 2000/XP: Chinese (Macau SAR)
041a1050Croatian
04051029Czech
04061030Danish
04651125Windows XP: Divehi. This is Unicode only.
04131043Dutch (Netherlands)
08132067Dutch (Belgium)
04091033English (United States)
08092057English (United Kingdom)
0c093081English (Australian)
10094105English (Canadian)
14095129English (New Zealand)
18096153English (Ireland)
1c097177English (South Africa)
20098201English (Jamaica)
24099225English (Caribbean)
280910249English (Belize)
2c0911273English (Trinidad)
300912297Windows 98/Me, Windows 2000/XP: English (Zimbabwe)
340913321Windows 98/Me, Windows 2000/XP: English (Philippines)
04251061Estonian
04381080Faeroese
04291065Farsi
040b1035Finnish
040c1036French (Standard)
080c2060French (Belgian)
0c0c3084French (Canadian)
100c4108French (Switzerland)
140c5132French (Luxembourg)
180c6156Windows 98/Me, Windows 2000/XP: French (Monaco)
04561110Windows XP: Galician
04371079Windows 2000/XP: Georgian. This is Unicode only.
04071031German (Standard)
08072055German (Switzerland)
0c073079German (Austria)
10074103German (Luxembourg)
14075127German (Liechtenstein)
04081032Greek
04471095Windows XP: Gujarati. This is Unicode only.
040d1037Hebrew
04391081Windows 2000/XP: Hindi. This is Unicode only.
040e1038Hungarian
040f1039Icelandic
04211057Indonesian
04101040Italian (Standard)
08102064Italian (Switzerland)
04111041Japanese
044b1099Windows XP: Kannada. This is Unicode only.
04571111Windows 2000/XP: Konkani. This is Unicode only.
04121042Korean
08122066Windows 95, Windows NT 4.0 only: Korean (Johab)
04401088Windows XP: Kyrgyz.
04261062Latvian
04271063Lithuanian
08272087Windows 98 only: Lithuanian (Classic)
042f1071FYRO Macedonian
043e1086Malay (Malaysian)
083e2110Malay (Brunei Darussalam)
044e1102Windows 2000/XP: Marathi. This is Unicode only.
04501104Windows XP: Mongolian
04141044Norwegian (Bokmal)
08142068Norwegian (Nynorsk)
04151045Polish
04161046Portuguese (Brazil)
08162070Portuguese (Portugal)
04461094Windows XP: Punjabi. This is Unicode only.
04181048Romanian
04191049Russian
044f1103Windows 2000/XP: Sanskrit. This is Unicode only.
0c1a3098Serbian (Cyrillic)
081a2074Serbian (Latin)
041b1051Slovak
04241060Slovenian
040a1034Spanish (Spain, Traditional Sort)
080a2058Spanish (Mexican)
0c0a3082Spanish (Spain, Modern Sort)
100a4106Spanish (Guatemala)
140a5130Spanish (Costa Rica)
180a6154Spanish (Panama)
1c0a7178Spanish (Dominican Republic)
200a8202Spanish (Venezuela)
240a9226Spanish (Colombia)
280a10250Spanish (Peru)
2c0a11274Spanish (Argentina)
300a12298Spanish (Ecuador)
340a13322Spanish (Chile)
380a14346Spanish (Uruguay)
3c0a15370Spanish (Paraguay)
400a16394Spanish (Bolivia)
440a17418Spanish (El Salvador)
480a18442Spanish (Honduras)
4c0a19466Spanish (Nicaragua)
500a20490Spanish (Puerto Rico)
04301072Sutu
04411089Swahili (Kenya)
041d1053Swedish
081d2077Swedish (Finland)
045a1114Windows XP: Syriac. This is Unicode only.
04491097Windows 2000/XP: Tamil. This is Unicode only.
04441092Tatar (Tatarstan)
044a1098Windows XP: Telugu. This is Unicode only.
041e1054Thai
041f1055Turkish
04221058Ukrainian
04201056Windows 98/Me, Windows 2000/XP: Urdu (Pakistan)
08202080Urdu (India)
04431091Uzbek (Latin)
08432115Uzbek (Cyrillic)
042a1066Windows 98/Me, Windows NT 4.0 and later: Vietnamese

See also ...
DateFormat – picture specification
TimeFormat – picture specification


Continue to: MarginBottom – chart margin (bottom)
© Copyright Causeway Graphical Systems Ltd 2003