Re: Keep on with date and mktime problems...
| From: | Bogdan Stancescu | Date: | Tue, 12 Feb 2002 23:40:37 +0000 |
| Subject: | Re: Keep on with date and mktime problems... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-84505@lists.php.net to get a copy of this message | ||
That's very flattering, thank you! :-)
What I meant in the pvt message was that you should provide some lines /above/ the line issuing the error message, not below it!
Bogdan
peke wrote:
First of all sorry Bogdan...i didn't mean to answer to you... It's a code from a GPL app but i think that´s the part...."unexpected problem with date function error" if ($iDiaIni==date("t",mktime(12,0,0,$iMes,$iDia,$iAnio))) { //Hemos llegado al último día del mes $iDiaIni=1; if ($iMesIni==12) {$iMesIni=1;$iAnioIni++; } else $iMesIni++; } else $iDiaIni++;