Dnia wtorek 05 marzec 2002 10:34, Jason Wong napisaĆ:
> On Tuesday 05 March 2002 17:27, Andy wrote:
> > Hi there,
> >
> > I am still lacking of one error the user can provide:
> >
> > Desired format: .mm.dd
> >
> > Asuming he enters a date: 2002-02-31 (There is no Feb 31)
> >
> > Is there a fu
they are the
same as the parsed the date is valid, otherwise
not.
Best regards,
Andrey Hristov
- Original Message -
From: "Andy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 05, 2002 11:27 AM
Subject: [PHP] How to validate this date: 2002-02-31
On Tuesday 05 March 2002 17:27, Andy wrote:
> Hi there,
>
> I am still lacking of one error the user can provide:
>
> Desired format: .mm.dd
>
> Asuming he enters a date: 2002-02-31 (There is no Feb 31)
>
> Is there a function which check is the date is ok?
Try checkdate()
--
Jason Wong ->
Hi there,
I am still lacking of one error the user can provide:
Desired format: .mm.dd
Asuming he enters a date: 2002-02-31 (There is no Feb 31)
Is there a function which check is the date is ok?
Thanx guys,
Andy
PS: I wrote this function which has the whole:
/*
* Validates the format
4 matches
Mail list logo