To change the date format, you can use this code:
CDate(YourDateTimeVariable).ToString(“dd/MM/yyyy”)
This will convert your DateTime variable to the desired format.
1 Like
To change the date format, you can use this code:
CDate(YourDateTimeVariable).ToString(“dd/MM/yyyy”)
This will convert your DateTime variable to the desired format.