Re: Day of Week??

From: Date: Wed, 14 Mar 2001 14:15:43 +0000
Subject: Re: Day of Week??
Groups: php.general 
Request: Send a blank email to php-general+get-43832@lists.php.net to get a copy of this message
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)); $weekday = $thedate[weekday]; echo $weekday; Tim >>> "Tim McGuire" <tim.mcguire@dnr.state.mn.us> 03/14/01 08:10AM >>> >>> 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 <bruno@fujinor.com.br> 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: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#43832) next »