Re: [PHP] Day of Week??

2001-03-14 Thread Christian Reiniger
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

Re: [PHP] Day of Week??

2001-03-14 Thread Tim McGuire
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

Re: [PHP] Day of Week??

2001-03-14 Thread Tim McGuire
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

RE: [PHP] Day of Week??

2001-03-14 Thread Boget, Chris
> 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

[PHP] Day of Week??

2001-03-14 Thread Bruno Freire
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.