How to convert string "20100101" to DateTime 01/01/2010?
Author: Shourui
Creation Date: 11/1/2010 10:22 AM
profile picture

Shourui

#1
Thanks.
profile picture

Shourui

#2
figured it out. use DateTime.ParseExact(TheString,"YYYYMMDD",null);
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).