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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:49:28+00:00 2026-05-10T17:49:28+00:00

currently i obtain the below result from the following C# line of code when

  • 0

currently i obtain the below result from the following C# line of code when in es-MX Culture

   Thread.CurrentThread.CurrentCulture =      Thread.CurrentThread.CurrentUICulture = new                 CultureInfo('es-mx');    <span><%=DateTime.Now.ToLongDateString()%></span> 

miércoles, 22 de octubre de 2008

i would like to obtain the following

Miércoles, 22 de Octubre de 2008

do i need to Build my own culture?

  • 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. 2026-05-10T17:49:28+00:00Added an answer on May 10, 2026 at 5:49 pm

    You don’t need to build your own culture. You only need to change the property DateTimeFormat.DayNames and DateTimeFormat.MonthNames in the current culture.

    i.e.

            string[] newNames = { 'Lunes', 'Martes', 'Miercoles', 'Jueves', 'Viernes', 'Sabado', 'Domingo' };         Thread.CurrentThread.CurrentCulture.DateTimeFormat.DayNames = newNames; 

    However, it’s weird that en-US show months and days with the first uppercase letter and for mx-ES not.

    Hope it helps!.

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

Sidebar

Related Questions

I'm currently re-using JUnit 4 tests from another project against my code. I obtain
I'm currently using this to obtain latency: def time_deltas(infile): entries = (line.split() for line
Currently, i am using http://search.twitter.com/search.json?q=<search term> to obtain tweets from twitter. But, it returns
I'm currently using the httplib library in Python 2.7 to obtain some headers from
Currently I'm starting a new Activity and calling finish on a current one. Is
Has anyone any idea how could I obtain a view that has the following
I am currently modifying a piece of code and I am wondering if the
I am using JQuery mousewheel downloaded from https://github.com/brandonaaron/jquery-mousewheel/downloads to obtain mousewheel information. At the
I am currently trying to obtain the alpha value of a pixel in a
I obtain a webpage's html code (as a string) using a WebClient. However I

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.