get current time jquery code example
Example 1: get actual time jquery
new Date($.now());
Example 2: how to get the computer date and time jquery
var dt = new Date();
var time = dt.getHours() + ":" + dt.getMinutes() + ":" + dt.getSeconds();
document.write(time);
Example 3: how to get the computer date and time jquery
new Date(Date.now()) // Mon Jan 19 2015 20:02:55 GMT-0500 (Eastern Standard Time)
new Date($.now()); // Mon Jan 19 2015 20:02:55 GMT-0500 (Eastern Standard Time)