Home » Javascript » jquery convert date to formated date

jquery convert date to formated date

Posted by: admin October 18, 2018 Leave a comment

Questions:

I am using jquery/javascript and trying to convert date format to date with date+hours minute seconds.
I tried with new Date(myFormatDate) but it gave me complete date including timezone. Is substring of new Date() is only option to get to my format?

From Format I am trying to convert 
"2018-05-17T00:55:46"

To Format I am trying to achieve
2018-05-01 23:17:32.00
Answers: