
02/10/2003, 12:06
|
 | | | Fecha de Ingreso: agosto-2003
Mensajes: 214
Antigüedad: 21 años, 6 meses Puntos: 11 | |
Prueba esto:
//Fecha actual *************************************
$segundos=strftime("%Y/%m/%d");
// Fecha formato DD/MM/YY***************************
$fechactual=strftime("%d/%m/%Y",strtotime($segundos));
// SOLO EL AÑO
$anyo=strftime("%Y",strtotime($segundos)); |