js code:
if (Milliseconds == 10)
{
Milliseconds = 0;
Seconds = Seconds + 1;
if (Seconds == 60)
{
Seconds = 0;
Minutes = Minutes + 1;
>>> if (Minutes = 60)<<<
{
Minutes = 0;
Hours = Hours + 1;
}
}
}
higlighted line should be
js code:
if (Minutes == 60)