asp.net - Convert String to Date only in C# -
possible duplicate:
convert string date in .net
i new here, i'm stuck problem when have array of strings values of "120612" , "200612".
i need convert strings date format this, "tues 12 june, 2012". how that?
thanks in advance.
datetime.parseexact you're looking for:
datetime.parseexact("200612", "ddmmyy", system.globalization.cultureinfo.currentculture)
Comments
Post a Comment