I've tried to find some code that would validate a date string but I haven't
found any module or some other code that does this. However, this must be such a
common task that someone, somewhere has to put together some tested code for
this ... or is it so obvious how to do it that I'm missing it?
What I'm looking for is something that would take a date string (in my case
2001-02-04) and return true/false depending if it's valid or not:
if( dateIsValid($year,$month,$date) ) ...
jem
--
Jan Erik Moström mailto:[EMAIL PROTECTED]
Free Elektron http://www.mostrom.pp.se/folk/jem/