Change a Date Format

Hi @Ayushi_Kuhar

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