javascript get current time in utc code example
Example 1: javascript get current time
var today = new Date();
var time = today.getHours() + ":" + today.getMinutes() + ":" + today.getSeconds();
Example 2: how to get utc time in angular
var d = new Date();
var n = d.getUTCDate();