note 86721 added to function.date

From: Date: Fri, 31 Oct 2008 20:46:08 +0000
Subject: note 86721 added to function.date
Groups: php.notes 
Request: Send a blank email to php-notes+get-146002@lists.php.net to get a copy of this message
I need to display graphic-A during hours 1-9 and graphic-B during hours 10-24. Anybody know of a simple way to do this? Better yet, if we can select times based upon the day of the week, it would be even better! I tried searching, but didn't inf anything resembling this. The coding will be added to a product description in osCommerce, which accepts html coding easily but other scripting types may or may not work. I want an OPEN graphic to display during normal business hours, and CLOSED when outside these hours. Thanks in advance! ---- Server IP: 208.69.120.35 Probable Submitter: 76.125.13.181 ---- Manual Page -- http://www.php.net/manual/en/function.date.php Edit -- https://master.php.net/note/edit/86721 Del: integrated -- https://master.php.net/note/delete/86721/integrated Del: useless -- https://master.php.net/note/delete/86721/useless Del: bad code -- https://master.php.net/note/delete/86721/bad+code Del: spam -- https://master.php.net/note/delete/86721/spam Del: non-english -- https://master.php.net/note/delete/86721/non-english Del: in docs -- https://master.php.net/note/delete/86721/in+docs Del: other reasons-- https://master.php.net/note/delete/86721 Reject -- https://master.php.net/note/reject/86721 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#146002) next »