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

后端 未结 5 510
独厮守ぢ
独厮守ぢ 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:24

    You can add the test even for the day of the week, for example :

    now.getDay() == "Sunday"
    

提交回复
热议问题