This should do the job
DateTime dta = Convert.ToDateTime(dt1,null);
dt1 should be in a format as is given in a string confirming the language
and regional settings of the computer, what is mostly standard installed at
your country formats by installation.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.