1var now = new Date(Date.now());
2var formatted = now.getHours() + ":" + now.getMinutes() + ":" + now.getSeconds();
3// 20:10:58
1var dt = new Date();
2var time = dt.getHours() + ":" + dt.getMinutes() + ":" + dt.getSeconds();
3document.write(time);
1new Date(Date.now()) // Mon Jan 19 2015 20:02:55 GMT-0500 (Eastern Standard Time)
2new Date($.now()); // Mon Jan 19 2015 20:02:55 GMT-0500 (Eastern Standard Time)