On Wednesday 14 March 2001 14:53, you wrote:
> Hi It's me again!
> Bruno...From Brazil...
>
> Hi wanna know How can i take the day of week of aany date...
Have you tried reading the manual?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
CPU not found. retry, abort, igno
Sorry There was a typo in last post:
SHOULD BE:
from manual at www.php.net:
$today = getdate();
$weekday = $today[weekday];
echo $weekday;
if it is another date
$thedate = getdate(mktime (0,0,0,1,1,1998
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 = $t
> 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??
date( "l", $timeStamp ); // lowercase "L", or you could use "D"
Look up the date() function. The documentation is your friend.
Chris
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.
5 matches
Mail list logo