Keep on with date and mktime problems...
| From: | peke | Date: | Tue, 12 Feb 2002 23:36:48 +0000 |
| Subject: | Keep on with date and mktime problems... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-84503@lists.php.net to get a copy of this message | ||
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++;