Hi,
I have integer ‘20200115’ as ‘yyyymmdd’ format without any special characters. i need to convert it into ‘mmddyyyy’ format. How to convert it?
Hi,
I have integer ‘20200115’ as ‘yyyymmdd’ format without any special characters. i need to convert it into ‘mmddyyyy’ format. How to convert it?
Try this
DateTime.ParseExact (input, “mmddyyyy”, CultureInfo.InvariantCulture)
cheers
Happy learning
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.