Re: please help with a regex in php

From: Date: Thu, 22 May 2003 08:04:19 +0000
Subject: Re: please help with a regex in php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-148515@lists.php.net to get a copy of this message
On Thursday 22 May 2003 15:10, Alex Shi wrote: > Hello I need to check a date format in php: mm/dd/yy. the 'mm' and 'dd' > can be one or two digits but 'yy' must be two digits. Is there any function > in php for date format checking or pls help me to create a regex for the > date format checking. Thanks a lot in advance! I'm not good at this so pls > give me a hand. Use explode() and checkdate(). -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* You will soon forget this. */

« previous php.general (#148515) next »