Tempus is a small PHP snippet built to swap content out based on manually set dates. Rather than storing this information on the server or following the server time, it takes your local computer time and decides what to show.
The main example is a single file, with an example found in the /example/ folder.
In Latin, tempus means 'time'.
--
This is written in PHP, so that is a requirement for it to work on your server.
tempus.php Primary usable file. Ready to use, now.
README.md This file.
/example/index.php Folder containing one example, for a concert venue that shows the next upcoming concert after the previous concert date has past. This is a super simple example, but should give you an idea of how it works.
The actual work here is copyrighted to me, I suppose, but it's standard PHP functions I found in a book...so, use it how you will. No credit is needed.