Code: Select all
<?php print date("F j, Y, G:i:s"); ?>
Once you get the exact time difference between your time and the servers time you can make the offset whatever you would like. So, if the server's time is truly 24 hours off you can do a +24 to get the day accurate. I did not test this nor look at the code to verify this will work correctly. I am just working off my PHP experiences in the past.