Jump to content

implementing Time


kierongi

Recommended Posts

i wanted to know is there any way that i can implement time into my site more specifically what i am wanting to do is have deadlines for certain pages e.g:

Qually 1 page deadline for the page to be used is Sunday 12:00 am 
Qually 2 page deadline for the page to be used is Monday 12:00 am 
Race Setup page deadline for the page to be used is Monday 6:00 pm

(further to this)
between Monday 7:30 pm and 10:00 pm the Race screen will come live in order for users to watch there race (the site will go into Downtime after 10:00pm for 1 Hour to allow testing during Alpha and Beta)

 

i would also need the script to run at certain time more than likely to be run between 6:01pm and 7:29pm to allow the live race to be seen and allow any debugging to be done prior to live race

is there a way that this can be implemented at all and hope i have not confused you

Thank You Kieron

Link to comment
https://forums.phpfreaks.com/topic/284457-implementing-time/
Share on other sites

I don't see why; if you want to display an accurate *local* time for the user, though, you need to know the user's timezone ... so that would be part of the registration process, or you would at least ask them about their TZ and set a COOKIE or SESSION variable to help you compute local time.

Link to comment
https://forums.phpfreaks.com/topic/284457-implementing-time/#findComment-1460999
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.