Friday, May 27, 2011

How to Format Date in CustomCalendarExtender control

The default date format for the CustomCalendarExtender is MM/dd/yyyy which is typically US date format. To change this format, you need to set the Format property of the control.

For UK based date format you can set this to dd/MM/yyyy which would display date as 19/03/2011 instead of 03/19/2011 (default format)


Happy Coding :)

1 comment:

tnvbalaji said...

congrates for receiving MCC Award!!
I had also recevied MCC recently :)

http://tnvbalaji.wordpress.com/2011/04/28/microsoft-community-contributor-award-winner/