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
> 
> 
> 




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to