Click here to Skip to main content

Response to: How to convert a string to DateTime

Revision 3
Try This
string myDateTimeValue = "2/16/1992 12:15:12";
        DateTime myDateTime = DateTime.Parse(myDateTimeValue);
or You can go threw this link http://www.ezineasp.net/post/C-Convert-String-to-DateTime.aspx[^] http://www.dotnetspider.com/forum/4879-How-convert-string-datetime-datetime-format-using-C.aspx[^]
Posted 29 May '12 - 0:41 by sunandandutt.
Tags:


Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 5 Nov 2009
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid