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
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to