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
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
Share on other sites

Link to comment
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.