Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.