Cool! Maybe time is formatted differently where you live, but 20:20:02 would be called 08:20:02 PM here so it would require subtracting 12 from the hours if it's greater than 12.
Cool! Maybe time is formatted differently where you live, but 20:20:02 would be called 08:20:02 PM here so it would require subtracting 12 from the hours if it's greater than 12.
RE: Building a Simple Digital Clock with JavaScript