ORGANISER

Months back i've written a simple code using Jquery and some PHP to make a count down timer. Today, while making backup of my work i found this code...so thought of posting might be helpful to someone.



INDEX.PHP







COUNTDOWN.PHP
php
date_default_timezone_set("Asia/KolKata");

$time=;//some time in future.
echo "
".(date("d",$time-time())-1)."
Days
"; echo "
".(date("h",$time-time()))."
Hours
"; echo "
".(date("i",$time-time()))."
Minutes
"; echo "
".(date("s",$time-time()))."
Seconds
";

STYLE.CSS
div
{
    display:inline;
}
.d
{    
 color:#c3c3c3; 
}
.l
{ 
    color:#cc445f;   
    
}
    


Leave a Comment  
Download Code(38)





All rights reserved, the content is copyrighted to the author.

RELATED POST