Dear forum,
How can i convert Mar 22, 2022 to 22-03-2022?
Check this one
DateTime.ParseExact(“Mar 22, 2022”, “MMM dd, yyyy”,System.Globalization.CultureInfo.InvariantCulture).ToString(“dd-MM-yyyy”)
Thanks it worked…i didnt try cdate previously as i thought it wont recognize it…my bad
thanks for the reply
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.