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 -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -