Colleagues,
I tried to display a date in the MaskedTextBox control, with the mask "00/00/0000".
The date was 03/29/2020, and it was shown in that Masked text Box as "32/92/020_".
That is zero in "03" was dropped coz the short date format showed "3/29/2020".
I tried to display 01/01/2020 - and sure enough, it displayed "11/20/20__"
I tried masks "99/99/9999" and "##/##/####" - same result: no zeros.
Could you please help me to make a mask so it will not drop those zeros?
TIA!
Regards,
Ilya
I tried to display a date in the MaskedTextBox control, with the mask "00/00/0000".
The date was 03/29/2020, and it was shown in that Masked text Box as "32/92/020_".
That is zero in "03" was dropped coz the short date format showed "3/29/2020".
I tried to display 01/01/2020 - and sure enough, it displayed "11/20/20__"
I tried masks "99/99/9999" and "##/##/####" - same result: no zeros.
Could you please help me to make a mask so it will not drop those zeros?
TIA!
Regards,
Ilya