Created
January 4, 2012 10:00
-
-
Save Joruus/1559390 to your computer and use it in GitHub Desktop.
Conversión DateTime
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DateTime dt; | |
string datetime = "120101"; | |
DateTime.TryParseExact(datetime, | |
"yyMMdd", | |
CultureInfo.InvariantCulture, | |
DateTimeStyles.None, | |
out dt); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment