note 63815 added to function.mktime

From: Date: Fri, 31 Mar 2006 16:47:32 +0000
Subject: note 63815 added to function.mktime
Groups: php.notes 
Request: Send a blank email to php-notes+get-107096@lists.php.net to get a copy of this message
I was trying calculate the age of a people withing a system...based in birth date and local date... I tried to make using some definitions...but...I only make it happen using this... $day = 20; $month = 07; $year = 1980; $tmp1=mktime(0,0,0,$day,$month,$year); $tmp2 = mktime(); $res = ($tmp2 - $tmp1); $final_date = date('Y',$res); echo $final_date-1970; ---- Server IP: 200.185.109.103 Probable Submitter: 200.187.91.128 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.mktime.php Edit -- http://master.php.net/note/edit/63815 Del: integrated -- http://master.php.net/note/delete/63815/integrated Del: useless -- http://master.php.net/note/delete/63815/useless Del: bad code -- http://master.php.net/note/delete/63815/bad+code Del: spam -- http://master.php.net/note/delete/63815/spam Del: non-english -- http://master.php.net/note/delete/63815/non-english Del: in docs -- http://master.php.net/note/delete/63815/in+docs Del: other reasons-- http://master.php.net/note/delete/63815 Reject -- http://master.php.net/note/reject/63815 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#107096) next »