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

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -