Error: String '' was not recognized as a valid DateTime

Hi @rajababu.mandapati ,
Just add this format in the array and check once

Use this expression

Datetime.ParseExact(D_format.trim,{“yyyy.MM.dd”,“yyyy-MM-dd"," MM-dd-yyyy",“dd-MM-yyyy”},System.Globalization.CultureInfo.Invariantculture,System.Globalization.DateTimeStyles.None).ToString(“dd/MM/yyyy”)


Go on adding the different types of date formats. Hope this helps. Please check and update
Note: In the above expression D_format is nothing but input date