note 69918 deleted from function.date by bobby
| From: | bobby@php.net | Date: | Tue, 26 Sep 2006 15:02:41 +0000 |
| Subject: | note 69918 deleted from function.date by bobby | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-117686@lists.php.net to get a copy of this message | ||
Note Submitter: varelaj at gmail dot com
Reason: non-english
----
cuantos años tiene una persona
si mi fecha es:
$fecha='1974-07-21'
el codigo seria
<?php if(date('md')>substr($fecha,6,7).substr($fecha9,10)){$napa=1;}; echo
date('Y')-substr($fecha,0,4)-$napa; ?>