Re: [PHP] checkdate function

2003-04-02 Thread tech
On Tuesday 01 April 2003 02:47 pm, Jon Haworth wrote: > Hi Siva, > > > checkdate function verifies whether the date is valid or > > not by taking month, day and year as arguments. > > The problem is when someone enters a three digit year by > > mistake (200 instead of 2003), this function does not

RE: [PHP] checkdate function

2003-04-01 Thread Jon Haworth
Hi Siva, > checkdate function verifies whether the date is valid or > not by taking month, day and year as arguments. > The problem is when someone enters a three digit year by > mistake (200 instead of 2003), this function does not catch it. Yes, I've been bitten by this as well :-) > We are se

[PHP] checkdate function

2003-03-31 Thread tech
checkdate function verifies whether the date is valid or not by taking month, day and year as arguments. The problem is when someone enters a three digit year by mistake (200 instead of 2003), this function does not catch it. We are separating the year part from the string and validating sep