asp.net - Convert Changing string to DateTime in C# -
this question has answer here:
- parse string datetime in c# 6 answers
i have 1 date in string "18/07/2013 04:25:28 pm".how convert string datetime in c#.when trying convert date time getting error "input string not in correct date format"
datetime.parseexact( "4/4/2010 4:20:00 pm", "m/d/yyyy h:mm:ss tt", cultureinfo.invariantculture);
Comments
Post a Comment