I get the variable date in JS from msql DATETIME as 2017-01-25 20:28:10 var supertime = "2017-01-25 20:28:10" is a string, not a date.
I need to convert to 01.25 20:28
How can this be done easier than regular expressions? How to change the date display format, where the date data is in the JS string string
I get the date json by string in js, so it can be changed both in JS and at the stage of forming a string in php when pulled from the database.