from manual at www.php.net:
$today = getdate();
$weekday = $today[weekday];
echo $weekday;
if it is another date
$thedate = getdate(mktime (0,0,0,(0,0,0,1,1,1998));
$weekday = $thedate[weekday];
echo $weekday;
Tim
>>> Bruno Freire <[EMAIL PROTECTED]> 03/14/01 07:53AM >>>
Hi It's me again!
Bruno.......From Brazil.......
Hi wanna know How can i take the day of week of aany date...
Example:
How to know that 14 of march of 2001 is a Wednesday??
Thanks...
Bruno.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]