Quite often you need to show how many days the site is running.
This is necessary for websites representing the HYIP direction and some other investment projects.
A very simple script that will show how many days the site has been running since the launch.
The script can be set at any point of the <body>, where you want to place the counter, for example, like here.
d0 = new Date('April 4, 2017'); // launching the site
d1 = new Date();
dt = (d1.getTime() - d0.getTime()) / (1000*60*60*24);
document.write('Working <B>' + Math.round(dt) + '</B> day');
I wish you creative success.