Dot Net Solvents
Thursday, 8 July 2010
STRING TO DATETIME WITH SPECIFIC FORMAT
DateTime myDate
=
DateTime.
ParseExact
(
"28-12-2008"
,
"dd-MM-yyyy"
,
System.
Globalization
.
CultureInfo
.
InvariantCulture
)
;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment