Secondly, I used set Interval because it is executed nomatter whether previous call was executed or not, and since this was about a clock, prev calls don't matter.
Actually set Timeout would work perfectly fine over here, it was just intuition that made me use set Interval.
I agree, that using it in game loops or so can be messy, mostly it will, but in something as simple as a clock, I don't think it does any wrong, what say?
By the way, aren't we discussing on something silly?
:) You opposing set Interval, I favouring it, and the author of the question being happy since he found his solution -- funny situation, no?
Some of them display only the month, others the entire year.
Some highlight the current day or tell you when you entered the page.