http://php.net/time
http://php.net/date
http://php.net/mktime
one or a combination of these functions will help you do what you want.
HTH
On Apr 19, 2005, at 6:37 PM, tommy wrote:
I'm hoping someone on this list can help me with something I've been
struggling with lately...
I have a php based web page that I'd like to have load an include file
only when it is Tuesday 11pm - Weds 1 am Eastern Standard time (USA).
At other times I would like my page to load and alternate include
file.
If someone could help me with the code or point me in the right
direction it would be very appreciated.
Thanks.
Tommy.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
*********
Stephen Johnson
stephen@xxxxxxxxxxxxxxxx
http://www.thelonecoder.com
--continuing the struggle against bad code--
*********
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php