Hi,
Is there any way to convert a string of value 28112024 to any date time format?
I have a string value as 28112024. I want to convert it into any of the date time format
Hi,
Is there any way to convert a string of value 28112024 to any date time format?
I have a string value as 28112024. I want to convert it into any of the date time format
Hi,
Can you try DateTime.ParseExact method as the following, for example.
DateTime.ParseExact("28112024","ddMMyyyy",System.Globalization.CultureInfo.InvariantCulture).ToString("MM/dd/yyyy")
Regards,
Thank you @Yoichi . It is working.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.