Not Solved [How To?] Display Page/Debug with Server Time to All
#3
Not Solved
(2016-02-05, 08:50 AM)Tom K. Wrote: The first question is why would you want/need to?

I often find that my users are interested in mundane or miscellaneous statistics.

Anyway OP, download and install Yumi's PHP in Templates and Template Conditionals plugin.

Find your theme's footer template and find the area where you want to display the server time.

<?
$time = date('m/d/Y h:i:s a', time());
echo "The current server time is: " . $time;
?>

Paste that into the <div></div> or wherever you need it.

That should work.


Messages In This Thread
RE: Display Page/Debug with Server Time to All - by kawaii - 2016-02-05, 08:58 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)