1
Answer

problem in masked textbox

Mayur Gujrathi

Mayur Gujrathi

14y
1.9k
1
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)