String Manipulation of string to date

How can we convert November 10, 1995 as 11/10/1985?

1 Like

Hope this would help you
If the input is a string variable like
In_str = “November 10, 1995”
The output string be like
Out_str = DateTimw.ParseExact(In_str,”MMMM dd, yyyy”,System.Globalization.CultureInfo.InvariantCulture).ToString(“MM/dd/yyyy”)

Cheers @Rrupam13