echo date("l");

From: Date: Tue, 07 Feb 2006 21:36:49 +0000
Subject: echo date("l");
Groups: php.general 
Request: Send a blank email to php-general+get-230056@lists.php.net to get a copy of this message
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. Khristian

« previous php.general (#230056) next »