RE: [PHP] Getting A Date

From: Date: Wed, 26 Jun 2002 03:18:07 +0000
Subject: RE: [PHP] Getting A Date
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103897@lists.php.net to get a copy of this message
Mktime() www.php.net/mktime Use it in conjuction with date() $var = date("D",mktime(0,0,0,$month,$day,$year)); ---John Holmes... > -----Original Message----- > From: Phillip S. Baker [mailto:phillip@freewolf.net] > Sent: Tuesday, June 25, 2002 11:08 PM > To: PHP Email List > Subject: [PHP] Getting A Date > > Hey All, > > I want to be able to check a variable date to find out what day of the > week > it is. > When I try and use getdate() or date() it only allows me to use the > current > date. > > I want to pass a date with a specific day, month and year. > > What the heck am I missing? > > Phillip > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#103897) next »