Q:

How does Javascript change datetime format? 

I got Date string :
var myDate = "2013-06-07T19:53:00.001+07:00";

How can I change it to :
result = "7/6/2013 at 19:53";

A:

jsFiddle
var d = new Date();
var date = d.getDate();
var month = d.getMonth() + 1;
var year = d.getFullYear();

var hours = d.getHours();
var mins = d.getMinutes();

var datestring = month + "/" + date + "/" + year + " at " + hours + ":" + mins;

