str= “25.11.22”
I am using this conversion,
Datetime.ParseExact(“22.11.22”,“dd.MM.yyyy”,System.Globalization.CultureInfo.InvariantCulture)
but its producing an error
Assign: String was not recognized as a valid DateTime.
str= “25.11.22”
I am using this conversion,
Datetime.ParseExact(“22.11.22”,“dd.MM.yyyy”,System.Globalization.CultureInfo.InvariantCulture)
but its producing an error
Assign: String was not recognized as a valid DateTime.
Hi @Rowley101
Refer the below workflow to convert string to datetime.
Assign.xaml (9.5 KB)
Hope it helps!!
Regards,
Did you try this?
Datetime.ParseExact(“22.11.22”,“dd.MM.yy”,System.Globalization.CultureInfo.InvariantCulture)
(It’s “dd.MM.yy” instead of “dd.MM.yyyy”)