/*
declare target date; source: http://us.imdb.com/ReleaseDates?0121766 ;
*/
$day = 14; // Day of the countdown
$month = 9; // Month of the countdown
$year = 2012; // Year of the countdown
$hour = 17; // Hour of the day (east coast time)
$event = "Class of 82 - 30th Reunion Happy Hour at Famous Sam's"; //event
$day2 = 22;
$month2 = 8;
$year2 = 2012;
$hour2 = 17;
$event2 = "Pay for 30th Reunion events";
$calculation = ((mktime ($hour,0,0,$month,$day,$year) - time(void))/3600);
$hours = (int)$calculation;
$days = (int)($hours/24);
$calculation2 = ((mktime ($hour2,0,0,$month2,$day2,$year2) - time(void))/3600);
$hours2 = (int)$calculation2;
$days2 = (int)($hours2/24);
/*
mktime() http://www.php.net/manual/en/function.mktime.php
time() http://www.php.net/manual/en/function.time.php
(int) http://www.php.net/manual/en/language.types.integer.php
*/
?>
Today is =(date ("l, jS \of F Y "));?>.
There are only =$days?> days until =$event?>!
And you must pay in advance for events!! See links here or on Facebook to pay!
There are only =$days2?> days until =$event2?>!