Hello, 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 = mktime(0,0,0,$cboMM,$cboDD,$cboYY); $todaytimestamp = time(); $txtAge = ($todaytimestamp - $dobtimestamp)/86400; It does not give me the expected output. Can anybody suggest something ? Thanks in advance. Peace -- Rajesh * rajesh-shriram@gmx.net * http://www.symonds.net/~rajesh/ Powered By : Debian GNU/Linux 3.0 (Woody) - [Kernel 2.4.18(ext3),Mutt 1.5.1i] What we anticipate seldom occurs; what we least expect generally happens. -- Bengamin Disraeli -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php