[X]

Days Online Counter

time and date 1998 still works

Prints how long the site has been up, counting from the day you launched it.

In 2026: Works unchanged.

Where it came from: Free script archives, late 90s. MDN

<script language="JavaScript">
var LAUNCH = new Date("June 14, 1997");
var days = Math.floor((new Date() - LAUNCH) / 86400000);
document.write("This site has been online for <b>" + days + "</b> days.");
</script>
sandboxed demo · breaks nothing but itselfrestart

More in time and date

all 6 in time and date › · the whole library ›