Date Picker Problem with Dates under the 10th

I have created a date picker. I take the date to be entered from another file, format is dd.MM.YYYY.


I extracted only the day. Unfortunately, the date picker works only for two-digit date, as soon as the date is for example 03.07.2022, the date is not selected by bot because the inner text of the click field is only “3”. I also tried with:


but unfortunately this didn’t help either.

Can anyone help? Thanks in advance

Value.TrimStart("0"c) this will remove 0 at the beginning

Thank you very much!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.