Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

regional parameters : how to set and get the langage of the system ?

Status
Not open for further replies.

yfbf

Programmer
Oct 2, 2004
24
BE
Best Regards
 
See

Visual Basic and Visual C# Concepts

Globalization and Localization Namespaces in Visual Studio

The namespaces in the .NET Framework for globalizing and localizing applications and components include:

System.Globalization - contains classes that define culture-related information, including the language, the country/region, the calendars in use, the format patterns for dates, currency and numbers, and the sort order for strings.


Forms/Controls Resizing/Tabbing
Compare Code
Generate Sort Class in VB
Check To MS)
 
Are you trying to get the globalization settings for your system, or the system of a remote client (web or desktop user)?

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
I have a logger where the date and time were in French and the system is in UK.
 
When dealing with date-times, it's best to always use GMT/UTC once you've left the presentation layer of your application. That way everyone knows a single timezone, and the app can convert it to the local timezone on the local PC (which knows what timezone it's in).

So far as formatting (like when passing a date around as a string), the ISO-8601 format works really well. See:


Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top