Re: echo date("l");
| From: | John Nichel | Date: | Tue, 07 Feb 2006 21:49:24 +0000 |
| Subject: | Re: echo date("l"); | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-230057@lists.php.net to get a copy of this message | ||
Khristian Hamilton-Bailey wrote:
Hi, I currently use the date function as follows: <?php $day= date("l"); ?> so I can then use this to call records from a database where todays day matches that of a record, however I would also like to call records for tomorrow, is there a way in which I could use the date function to add one day so that as well as the above i could also use something like $tomorrow= xxxxxxxxxxxxxxxxx Many thanks for any help. Khristianhttp://us3.php.net/date Look at example 3 -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 jnichel@dotcomholdingsofbuffalo.com