How to refresh page on specific day at specific time in specific time zone?

后端 未结 5 509
独厮守ぢ
独厮守ぢ 2020-12-17 04:47

I am developing a website that has two back to back web broadcasts. I have used PHP to display the time that the buttons should be enabled and disabled. Now I need to use Ja

5条回答
  •  一生所求
    2020-12-17 05:44

    function refreshAt(day, hours, minutes, seconds) 
    {
        Date.getDay() = day
    ...
    }
    

    0 is Sunday, 6 is Saturday.

提交回复
热议问题