Wednesday 24 May 2017

How to convert date format in java script?

I have a date format Nov 7, 2016 6:32 AM which I have to convert it to 2016-12-28 11:42:33.What is date format Nov 7, 2016 6:32 AM called? how to convert it to 2016-12-28 11:42:33 in javascript(node js)? I have searched in w3 schools and some references online, I tried using new Date(Nov 7, 2016 6:32 AM) but it is not as expected result.



via yacky

No comments:

Post a Comment