Re: Check a date
| From: | Rolf Brusletto | Date: | Tue, 29 Apr 2003 23:06:10 +0000 |
| Subject: | Re: Check a date | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145703@lists.php.net to get a copy of this message | ||
*This message was transferred with a trial version of CommuniGate(tm) Pro*
Shaun -
If the function returns -1 it means the year was not numeric
If the function returns -2 it means the month was not numeric
If the function returns -3 it means the day was not numeric
Rolf Brusletto
PHP / MySQL Coder
http://www.phpexamples.net
shaun wrote:
*This message was transferred with a trial version of CommuniGate(tm) Pro* Rolf, What does it mean if the funtion returns -1, -2 or -3? Thanks for your help "Shaun" <shaun@mania.plus.com> wrote in message news:20030429215108.95317.qmail@pb1.pair.com...Pro*Thank you Rolf, thats a great function! "Rolf Brusletto" <rolf-list@triculture.com> wrote in message news:3EAEF979.30207@triculture.com...Pro**This message was transferred with a trial version of CommuniGate(tm)Pro*Shaun: heres a snippet that will work... just written and tested, I will need it in the future anyways! http://www.phpexamples.net/codeExSnippet-38.html Rolf Brusletto PHP / MySQL Coder http://www.phpexamples.net shaun wrote:*This message was transferred with a trial version of CommuniGate(tm)the date format would be YYYY-MM-DD "Rolf Brusletto" <rolf-list@triculture.com> wrote in message news:3EAEEDB6.60408@triculture.com...*This message was transferred with a trial version of CommuniGate(tm)
Pro*shaun - what format is the date in? Rolf Brusletto PHP / MySQL Coder http://www.phpexamples.net shaun wrote:*This message was transferred with a trial version of CommuniGate(tm)Hi, How can i check whether a given date occurs before today? Thanks for your help