How to convert dd-MMM-yy to yyyy.MM.dd format?

@vanithavs
The date column may be in Text format, So you are facing that issue

Try this to convert your date format.

DateTime.ParseExact("18-Sep-22","dd-MMM-yy",System.Globalization.CultureInfo.InvariantCulture).ToString("yyyy.MM.dd")