I am grabbing system time with the following code, hwoever, if a time is before 10 minutes (ie 4:09) the output is 4:9. any thoughts?
function GetTime(){
var d, s = "";
var c = ":";
d = new Date();
s += d.getHours() + c;
s += d.getMinutes();
document.getElementById("t
ime").valu
e = s;
}
Start Free Trial