Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Trouble with countdown timer
Trouble with countdown timer [message #875385] Tue, 22 May 2012 16:33
Neel Choudhary is currently offline Neel ChoudharyFriend
Messages: 1
Registered: May 2012
Location: USA
Junior Member

$target = mktime(0, 0, 0, 06,22,2012) ;
$today = time (0,0,0, 05,22,2012) ;
$difference =($target-$today) ;
$days =(int) ($difference/86400) ;
print "Christmas is in $days days";


I put in that code and i don't know what's wrong but for some reason it doesn't work on my server.

What am I missing?
Previous Topic:Zend Plugin Install error
Next Topic:link install pdt in indigo is wrong help!!!!
Goto Forum:

Current Time: Wed Feb 08 21:47:30 GMT 2023

Powered by FUDForum. Page generated in 0.01815 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top