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 8836785
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T09:34:24+00:00 2026-06-14T09:34:24+00:00

One of my development applications has today started displaying American formatted short dates where

  • 0

One of my development applications has today started displaying American formatted short dates where I am expecting British formatting.

The dates are being rendered using date.ToShortDateString()

I have already checked my Regional settings, keyboard settings, browser settings and web.config. These are all set to English (UK) or not changed. I’ve also rebooted a number of times.

A mobile version of the same application, running from the same development server, and same website (different web application) is working correctly.

Environment:

  • Windows 7 64 Bit
  • Visual Studio 2010 Professional
  • IIS 7.5

Where else can Regional Settings be changed that might influence display of dates?

  • 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-06-14T09:34:25+00:00Added an answer on June 14, 2026 at 9:34 am

    The windows regional settings does not affect any website, unless the website is programmed to get the regional settings from the browser preferred languages and apply them to the ASP site

    Use the globalization option in the web.config

    <globalization culture="es-AR" uiCulture="es" />
    

    OR

    Set the value in the global.aspx Application_BeginRequest method

    Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
        Dim lang As String = "es"
        If HttpContext.Current.Request.Path.Contains("/en/") Then
            lang = "en"
        ElseIf HttpContext.Current.Request.Path.Contains("/pt/") Then
            lang = "pt"
        ElseIf HttpContext.Current.Request.Path.Contains("/es/") Then
            lang = "es"
        End If
        Thread.CurrentThread.CurrentUICulture = CultureInfo.GetCultureInfo(lang)
        Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(lang)
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My company has recently started developing custom iPhone applications for various clients. One of
Although I'm primarily a database developer, one of my avocations has been application development.
One of the applications in my mobile has this glossy and transparent look(refer the
I know someone who has a one-man company developing applications in Delphi and Pascal.
I have a funny event with one application in development using OpenGL ES on
The use case is that I use one development machine for different source trees.
For software development one often needs images. But when I start working on an
I am getting this error in one of my development machine. This error is
I have been using play 1.2.5rc4 for development of one app and I have
I am currently using two .htaccess files for my website: one is the development

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.