How to Convert this string to date type

Screenshot 2022-02-01 202449

Hi @Gopikrishna_S

Try this below expression
DateTime.ParseExact(“Input string”,(“ddMMyyyy”),Globalization.CultureInfo.InvariantCulture).ToString(“ddMMyyyy”)

ddMMyyyy - Your conversion format.

For more info refer the post

Hope it will works

Regards
Gokul

2 Likes

Thank you got the expected output

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