On Sun, Jan 19, 2003 at 09:34:02AM -0500, John W. Holmes wrote:
>> I tried this :
>>
>> $dobtimestamp = mktime(0,0,0,$cboMM,$cboDD,$cboYY);
>> $todaytimestamp = time();
>> $txtAge = ($todaytimestamp - $dobtimestamp)/86400;
>>
>> It does not give me the expected output.
>>
>> Can anybody suggest
> In my application I am accepting Day, Month and Year from a Select
List.
> What I want to do is calculate the age of the person based on the
above
> selection.
>
> $cboDD is the day variable
> $cboMM is the month variable
> $cboYY is the year variable
>
> I tried this :
>
> $dobtimestamp = mkt