asp.net - How can I parse a date like 07/21/2011 23:59:59 in c# -


how can parse date using datetime.parseexact?:

07/21/2011 23:59:59

in c#?

thanks :)

cultureinfo provider = cultureinfo.invariantculture; datetime.parseexact("07/21/2011 23:59:59","mm/dd/yyyy hh:mm:ss",provider) 

Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -