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 Choudhary
Messages: 1
Registered: May 2012
Location: USA
Junior Member
<?php


$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";

<?php


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:Ctrl+Z undo shifts view up or down
Next Topic:link install pdt in indigo is wrong help!!!!
Goto Forum:
  


Current Time: Sun Oct 26 03:00:14 GMT 2014

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

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