Fw: [PHP] Getting the day if given a date
| From: | Kevin Stone | Date: | Tue, 23 Jul 2002 22:18:23 +0000 |
| Subject: | Fw: [PHP] Getting the day if given a date | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-109156@lists.php.net to get a copy of this message | ||
A combination of the strtotime() function and date() or getdate() functions
should do what you want..
http://www.php.net/manual/en/function.strtotime.php
-Kevin
----- Original Message -----
From: "Cirkit Braker" <cirkitbraker@hotmail.com>
To: <php-general@lists.php.net>
Sent: Tuesday, July 23, 2002 6:24 PM
Subject: [PHP] Getting the day if given a date
> 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
>