I have just built a very nice and simple stardate calculator in PHP. It’s pretty simple to install really. Just make sure that you are editing a .php file and not a .html file and add the following code at the start of the file:
require(”starDate.php”);
And the following where you want the stardate to be output to:
echo starDate(time());
Too easy. I will be adding functionality for it to work with graphics and also to act as a counter for your website (i.e. You are the nth visitor since stardate XXXXX.XX). Stay cool kiddies.
Credit goes to John Voysey, who coded the original Javascript that this file was the basis of. Thanks John.
0 Responses to “Stardate Script”