Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3843296
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T15:55:03+00:00 2026-05-19T15:55:03+00:00

I have an app runing at a customer with international windows xp installations and

  • 0

I have an app runing at a customer with international windows xp installations and the client reported to me that a few clients can not enter dates with their countries date-separator (.). The system is configured correctly. My app takes the separator from System.Globalization.DateTimeFormatInfo.CurrentInfo.DateSeparator. The version of .net is 3.5SP1.

Another issue that I have observed was during a presentation of another app of mine for another customer. The app changed the date output format during app runtime. Instead of showing dd.mm.yyyy, it changed to the us format mm/dd/yyyy after approximatively 1.5 hour of presentation. Because it was during presentation, I could not look what the problem was. I only restarted the app and all was fine again. The os on the presentation laptop was W7 en. Here I use DateTime.ToShortDateString.

My question is if, if also other programmers experiencing such obscure issues with globalization on international systems and if yes, if there are some does and donts. Or is there maybe a keyboard shortcut I’m not aware about, that changes the regional settings (not the keyboard layout, this one I’m aware about).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T15:55:03+00:00Added an answer on May 19, 2026 at 3:55 pm

    never ever rely on the final environment as well as configuration of installations for such issues. the best way to be 100% sure of the correct globalization (as well as localization) is to put all the checks in the code itself. when i know my app is going to be used in different locales, i explicitly get / set the current culture info via code. also, almost every parse method on common types (like numbers, datetime, etc) has an overload which lets you specify the culture info to be used while parsing culture specific data. are you ensuring this?

    last but not the least, make sure your db server AS WELL AS your sps are correctly configured and coded for data input in different locales. for eg, sql server has plenty of options (including ISO standards) for date-time parsing / saving. sql server 2008 offers you much easier and better options for the same purpose

    also, the golden rule with datetime is to ALWAYS SAVE THEM in UTC but display them based on current timezone / locale format. one very common mistake programmers make is to NOT save datetime info in UTC / GMT format in the db. for eg: instead of saving DateTime.UTCNow, they save DateTime.Now. i have seen days if not weeks spent on trying to figure out such bugs / issues when an app deals with multiple cultures / locales / timezones. and ditto while dealing with numbers. for eg: price of an item on an ecommerce site which deals which sells in multiple countries and currencies

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have an app that queries for locations for a customer. We're getting to
I have a C#.NET 4.0 app that uses log4net for logging. Under Windows XP,
I have a WinForms client-server app running on a Novell network that produces the
I have a customer service web app requirement, which requires that I work pull
I have an app running Rails 2.3.5 that has a JSON API for much
I have an iPhone app running in the simulator that won't quit. I also
I have a BlackBerry app running in the background that needs to know when
I have a BlackBerry app running in the background that needs to know when
I have to connect my app to a customer's Informix 7.2 legacy database. From
We have a current WinForm/Windows Service running in .NET 1.1 out on various customer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.