I want to display the date timestamp retrieved from a MySQL database in a HTML table dynamically. I have an array of dates. I am getting date in the following format:
Mar 10, 2014 6:40:45 AM
How can I get the date as it is and represent it in my HTML table using JavaScript?