How to convert to date format dd/mm/yyyy

Hi! I need to convert this date to this format dd/mm/yyyy

The input is:
26JUL22:00:00:00

And I want to be like this:
26/07/2022

Can someone help me with this?

DateTime.ParseExact(YourStringVar, "ddMMMyy:HH:mm:ss", System.Globalization.CultureInfo.InvariantCulture).toString("dd/MM/yyyy")
2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.