Jump to content

Count down timer...


LMS17

Recommended Posts

Hi,

 

I'm new to the forum, I have a slight issue with my script.

 

Basically, I need to figure out a script that will allow me to do the following:

 

- The user defines x amount of ours to count down (ie. 16 hours, 8 hours, 4 hours)

- The script then starts the count down of the x hours

- I need the script to count between 08:00 - 20:00 after 20:00 it needs to stop, then start again at 08:00

- The script also need to stop throughout the weekend (ie counts until 20:00 on friday, stops saturday & sunday, then starts 08:00 on monday)

 

Can this be done? If so, any pointers or help?

 

Many thanks, Lewis.

Link to comment
https://forums.phpfreaks.com/topic/247881-count-down-timer/
Share on other sites

do you have any code at all?

you can most likely google this topic and find may results..

 

I had some code to define a timestamp for the timer to expire, but this wasnt very reliable as it could show 48 hours being available.

 

I just need say, a jQuery timer that will start & stop, maybe insert something into the database to save where it was at when it stopped?

 

I have googled for a while & nothing has come of my search.

 

Thanks, Lewis.

Link to comment
https://forums.phpfreaks.com/topic/247881-count-down-timer/#findComment-1272845
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.