Assign: String '11/1/2022 12:00:11 AM' was not recognized as a valid DateTime

Hi @raja.arslankhan ,

You would need to use Multiple date time formats for parsing. You could check the below posts on how to use the DateTime.ParseExact() with Multiple formats.

You could modify the DateTime.ParseExact() in your expression accordingly