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
Post a Comment