1
Answer

Masked TextBox

Mayur Gujrathi

Mayur Gujrathi

14y
3.4k
1
How to get date in masked textbox as dd/mm/yyyy in C#
I have done like this maskedtextbox1.text=datetime.now.tostring() but it is coming mm/dd/yyyy
Also when there is a single digit date then problem is occuring it is coming like "10/22/010_"
Answers (1)