08-16-2015, 02:13 PM
Mostly it's JS yes, but I need the server time from php for this to be accurate for everyone, independent of yous system clock. And php has some awesome time functions that saves a lot of headaches. For example:
Gets the timestamp of the next coop on thursday
Code:
$nextcooptime = strtotime("this Thursday+20 hours")