<?php

// melbdate.php3
// rename file extension from .txt to .php3 or to .php

// Script copyright (C) 2000 Dean Kennedy, Terrabyte Communications
// Version 1.03 04 June 2006 
// Free to use, modify and copy. You can safely delete all other
// commented lines and just leave the four line script

// Distributed under the terms of the GNU General Public License (GPL).
// There is NO WARRANTY, it is provided AS IS. Use it at your own risk.
// http://www.gnu.org/copyleft/gpl.html

// To adjust the format of the date, see www.php.net/manual/function.date.php
//
// If your local time is *behind* the server time, then change the "+" to
// a "-" in the $melbdate line
// If you don't know how many hours, then "uncomment" the three lines
// below by deleting "// " to see what the server time is (remember to
// put the comments "// " back when you've finished checking:
// $serverdate = date("l, d F Y h:i a");
// print ("$serverdate");
// print (" &nbsp; <p>");

// Variable for hours
$hourdiff = "14"; // hours difference between server time and local time

// Nothing needs to be changed below here unless you want to change
// the format of the date (see above for URL of options) or your local
// time is behind the server time
$timeadjust = ($hourdiff * 3600);
$melbdate = date("l, d F Y h:i a",time() + $timeadjust);
print ("$melbdate");

?>