Date format with calendarextender using Ajax

I've been working with Ajax for a few weeks, I used a caledarextender control and I was trying to get a date formated to "dd/mm/yyyy". But the only value i got was "03/00/2006". (Notice about "00" on month element).

To fix the problem I found this simple solution:

Just change mm to MM and that´s it!!

Great control!!

I noticed that is the same design in Windows Vista calendar control....

Comments

Popular posts from this blog

C# 4.5 | Programación asíncrona en .NET Framework 4.5 (Async)

C# 4.5 | Asynchronous Programming in the .NET Framework 4.5