RE: [PHP-WIN] Date validation

From: Date: Thu, 24 Oct 2002 14:28:30 +0000
Subject: RE: [PHP-WIN] Date validation
Groups: php.windows 
Request: Send a blank email to php-windows+get-16528@lists.php.net to get a copy of this message
Actually... you can't use explodo... but you could use explode... --------------------- John Asendorf - jasendorf@lcounty.com Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -----Original Message----- > From: Asendorf, John [mailto:JAsendorf@lcounty.com] > Sent: Thursday, October 24, 2002 10:27 AM > To: John Meyer; Php-Windows (E-mail) > Subject: RE: [PHP-WIN] Date validation > > > Actually, you could use explodo or split and reorder the pieces: > > from the docs: > > $date = "04/30/1973"; // Delimiters may be slash, dot, or hyphen > list ($month, $day, $year) = split ('[/.-]', $date); > echo "Month: $month; Day: $day; Year: $year<br>\n"; > > > > --------------------- > John Asendorf - jasendorf@lcounty.com > Web Applications Developer > http://www.lcounty.com - NEW FEATURES ADDED DAILY! > Licking County, Ohio, USA > 740-349-3631 > Nullum magnum ingenium sine mixtura dementiae fuit > > > > -----Original Message----- > > From: John Meyer [mailto:johnmeyer_1978@yahoo.com] > > Sent: Thursday, October 24, 2002 10:24 AM > > To: php-windows@lists.php.net > > Subject: [PHP-WIN] Date validation > > > > > > I have a date coming in in the format (mm/dd/yyyy) that I > > need to insert > > into a date column. How do I modify this using regexps so > > that it will fit > > in. > > > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.windows (#16528) next »