I used PHP code as follows to print MYSQL date value on html page. I want to do the same formatting using Jquery . How to do it?
in PHP
echo date("j F Y, g:i A",strtotime($add->added_date))
J query alert
var date = retdata[i].added_date; // date comes as 2016-02-27 06:14:15
alert (''); //formatting here??? i want as 2016 Feb 27 06:14 AM