Jump to content

setTimeout


akrin03

Recommended Posts

 

Hello

 

  I'm planning on using ajax and the setTimeout along with javascript to issue additional "turns" every two hours (on the odd hour) to each

player...

 

My question is with the setTimeout, how do I show how much time is

remaining for that player before they aquire a new "turn" because setTimeout uses miliseconds.  I've checked around the internet and found a few countdown timers using javascript that would need to reset the time every two hours, on the odd hour for this to work.

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/90719-settimeout/
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.