How to Change Date format

Hi All,

How to change date from OCT.27.2021 this format to 27-10-2021

Thanks in advance.

Hi @nithya

Use the Format below to convert!

CDate(“OCT.27.2021”).ToString(“dd-MM-yyyy”)

image

Regards

3 Likes

@nithya

Check below for your reference

Change Date Format

Hope this will help you

Thanks