Mayur Gujrathi

Mayur Gujrathi

  • NA
  • 119
  • 404k

problem in masked textbox

Nov 13 2010 5:55 AM
on a form load event i want date as dd/mm/yyyy in masked textbox
I have done in this way    maskedTextBox1.Text = String.Format("{0:d/M/yyyy}", DateTime.Now);
but it is coming as mm/dd/yyyy
please help its urgent

Answers (1)