Asp mvc globalization

Hi Experts,

I have an ASP.Net mvc application and I am having some issues with dates. When developing, I am locally getting correct date formatting, but when I upload, the dates are all backwards in US format. My dev machine is set to english (UK), and my hosting server is in the US.

Is there an easy way I can set the global culture of the site to be en-UK?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

For a single page set the culture.

<%@ Page UICulture="es" Culture="es-MX" %>

or add use

    requestEncoding="any valid encoding string"
    responseEncoding="any valid encoding string"
    fileEncoding="any valid encoding string"

    responseHeaderEncoding = "any valid encoding string"
    resourceProviderFactoryType = string
    enableBestFitResponseEncoding = "true|false"

    culture="any valid culture string"
    uiCulture="any valid culture string"/>

in the system.web section of your config file

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
crittoAuthor Commented:
Thanks James. I love it when someone writes a chunk of code that is exactly what you need and works perfectly. no link to an article etc etc.

Brilliant. Wicked. Cheers.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.