get utc time javascript

JavaScript
var d = new Date();

var n = d.getUTCDate();
 
Source

Also in JavaScript: