How do I parse in multiple datetime format strings into DateTime?

@gerlynn_lxy

have a look here:
Parsing_MultipleFormats_DTConfig.xaml (13.0 KB)

the fourth argument within the ParseExact working with date formats is missing
go eg for a
DateTime.ParseExact(row(0).ToString.trim, arrFormats, cultureinfo, DateTimeStyles.None)

where arrFormats = your DateFormats, cultureinfo is a prepared variable

for shortening the code just import the namespace as below:
grafik