Requirement is to display date in the format "22 Jan 2010".
I have coded
calanderFrom.Format = DateTimePickerFormat.Short;
calanderFrom.CustomFormat = "dd MMM yyyy";
but date is still coming in "5/5/2011" format. Please guide me how to change fromat.
thanks
Replace
calanderFrom.Format = DateTimePickerFormat.Short;
with
calanderFrom.Format = DateTimePickerFormat.Custom;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With