var today = new Date();
var hours = today.getHours();
var minutes = today.getMinutes();
var seconds = today.getSeconds();
var hours = hours <= 9 ? "0" + today.getHours() + ":" : today.getHours() + ":";
var minutes = minutes <= 9 ? "0" + today.getMinutes() + ":" : today.getMinutes() + ":";
var seconds = seconds <= 9 ? "0" + today.getSeconds() + "" : today.getSeconds();