Created
May 30, 2012 00:53
-
-
Save zackn9ne/2831887 to your computer and use it in GitHub Desktop.
PHP mini Calendar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="date"> | |
<p> | |
<?php | |
$hourdiff = "-8"; // hours diff btwn server and local time | |
$melbdate = date("D",time() + ($hourdiff * 3600)); | |
print ("$melbdate"); | |
?> </p> | |
<p class="big"> | |
<a href="/?cat=17"><?php | |
$hourdiff = "-8"; // hours diff btwn server and local time | |
$melbdate = date("d",time() + ($hourdiff * 3600)); | |
print ("$melbdate"); | |
?> </a> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment