Re: fechas en php
| From: | Remy | Date: | Fri, 12 Jul 2002 12:58:46 +0000 |
| Subject: | Re: fechas en php | ||
| References: | 1 2 3 4 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-24882@lists.php.net to get a copy of this message | ||
date() te da la fecha actual. time() te da la fecha en segundos. Para
obtener la fecha actual tienes que hacer esto
$fecha=time();
$fechaformateada=(strftime ("%Y-%m-%d", $fecha));
remy