how to uppercase date and month first letter of ToLongDateString() result in es-mx Culture ?

Posted by Oscar Cabrero on Stack Overflow See other posts from Stack Overflow or by Oscar Cabrero
Published on 2008-10-23T04:35:38Z Indexed on 2010/03/30 3:13 UTC
Read the original article Hit count: 353

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?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET