asp.net - Convert Changing string to DateTime in C# -


this question has answer here:

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

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -