kierongi Posted December 2, 2013 Share Posted December 2, 2013 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 raceis there a way that this can be implemented at all and hope i have not confused you Thank You Kieron Quote Link to comment https://forums.phpfreaks.com/topic/284457-implementing-time/ Share on other sites More sharing options...
dalecosp Posted December 2, 2013 Share Posted December 2, 2013 There are plenty of date and time functions. Quote Link to comment https://forums.phpfreaks.com/topic/284457-implementing-time/#findComment-1460997 Share on other sites More sharing options...
kierongi Posted December 2, 2013 Author Share Posted December 2, 2013 There are plenty of date and time functions. would this not cause a issue via time zones? Quote Link to comment https://forums.phpfreaks.com/topic/284457-implementing-time/#findComment-1460998 Share on other sites More sharing options...
dalecosp Posted December 2, 2013 Share Posted December 2, 2013 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. Quote Link to comment https://forums.phpfreaks.com/topic/284457-implementing-time/#findComment-1460999 Share on other sites More sharing options...
kierongi Posted December 2, 2013 Author Share Posted December 2, 2013 ok thank you for your help, what i am thinking is setting the time of the Site to a specific timezone and then use the time/date off that this may work Quote Link to comment https://forums.phpfreaks.com/topic/284457-implementing-time/#findComment-1461000 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.