Re: Getting the day if given a date

From: Date: Tue, 23 Jul 2002 20:44:32 +0000
Subject: Re: Getting the day if given a date
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-109145@lists.php.net to get a copy of this message
You can use the one or the combination of: date(); mktime(); strtotime(); eg: echo date("l", strtotime("22 July 2003")); Check the php online doc for explanation of each function. Rdb On Tue, 2002-07-23 at 20:24, Cirkit Braker wrote: > Is there any way to get the day of the week given a date. > > For example if the date is the 22nd July 2003 I want to know if it will be a > Monday or Wednesday, etc.. > > Any help appreciated. > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.general (#109145) next »