365 and 366 swiched places....if ((($year % 4 == 0) && ($year % 100 != 0)) || ($year % 400) == 0) {$ +nod=$nod-366} else {$nod=$nod-365}; #check for the leap year.
In reply to RE: RE: Re: Calculating a persons age based on their birthday.
by t0mas
in thread Calculating a persons age based on their birthday.
by artful
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |