I have two textboxes: TextBox1, TextBox2, and a button Button1.
I want to insert a random date into TextBox1 (format — dd/mm/yyyy) and after clicking the button I want to convert the inserted date into different format (yyyy/mm/dd).
How do I get this behavior?
To parse the date that was set into the first
TextBox:To set the same date to the second
TextBox, but in different format:[Edit] As was found out the format is not
dd/MM/yyyy, it isd/M/yyyy: