I've done a fair amount of searching on the internet to find a solution to this issue; however, I am still unable to find a real answer.
I would like to have a widget on my site that shows the user how long in seconds it has been since someone last visited the website. For example the clock would reset to '0' if someone were the refresh the page.
Not to be be confused with the time since a specific individual last visited the site, I'm asking to find the time since ANYONE sent a request for index.php
.
I assume the way to do this is tied up in a large amount of PHP, of which I am not great at. Any help, advice or pointers anyone could give would be great! Many thanks in advance.
Lastly to prevent more confusion the clock does not need to be live on the browser. It would just change each time the page is reloaded.