Re: Re: how to test string to see if it is a date or time?

From: Date: Mon, 24 Mar 2003 17:42:07 +0000
Subject: Re: Re: how to test string to see if it is a date or time?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-140865@lists.php.net to get a copy of this message
On Tuesday 25 March 2003 00:39, DomIntCom wrote: > can anybody help me out with this? I have figured out checkdate finally, > but still have nothing that will help me with time validation. explode() on the time delimiter (probably colon) check that hour is 1-12 (or 0-23) check that minute is 0-59 check that second is 0-59 -- 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 ------------------------------------------ /* If you're not very clever you should be conciliatory. -- Benjamin Disraeli */

« previous php.general (#140865) next »