Jump to content

Countdown clock


SCook

Recommended Posts

Hi everyone,

 

I was wondering, is there a countdown script out there?  What I need is this: I need to plug in two time integers, and determine how many days, hours, minutes and seconds there are between.

 

Then I'll use JavaScript to count down in real time.  But I first need the four variables when a apge is loaded.  I could write this myself, but I was wondering if something might not already exist.  Thanks.

Link to comment
https://forums.phpfreaks.com/topic/153204-countdown-clock/
Share on other sites

  • 2 weeks later...

I am looking for a similar function.  I want to have a script which say counts down the hours minutes and seconds left to a specific time.  For instance I have a teleconference which occurs each day at 3PM EST I want to display this on my webpage.  I don't want to have to manually reset it each day...so if its 2:59:59PM it would say 1 second left but when 3:00:01 PM comes it would say there are 23 hours 59 minutes and 59 seconds till the next call starts.  Does anyone know if this exists as a prewritten script anywhere?

Link to comment
https://forums.phpfreaks.com/topic/153204-countdown-clock/#findComment-815217
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.