Date month conversion

hi,
I need to convert Jun 20, 2019 as 20-06-2019. How could i change

1 Like

Kindly look for this article it might be helpful to you. @soumi_soumiya

cheers :smiley:

Happy learning :smiley:

1 Like

@soumi_soumiya Is the String always in the Format Specified?

@soumi_soumiya Try this

DateTime.ParseExact(“Jun 20, 2019”, “MMM dd, yyyy”, CultureInfo.InvariantCulture).ToString(“dd-MM-yyyy”)

Regards,
Ilayaraja

Thanks for your reply…
Yes