datetime - Data of the converter and time gtm c# -


i schedule in format fri, 07 apr 2017 09:03:03 gtm. how can convert format 04/07/2017 09:03:03?

i tried date conversion method

datetime.parse(string date); 

but returns 07/04/2017 06:03:03

datetime.parse("fri, 07 apr 2017 09:03:03 gmt").touniversaltime().tostring("mm/dd/yyyy hh:mm:ss"); 

Comments

Popular posts from this blog

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

javascript - Confirm a form & display message if form is valid with JQuery -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -