Ver Mensaje Individual
  #6 (permalink)  
Antiguo 21/07/2011, 13:29
juanluis911
 
Fecha de Ingreso: noviembre-2007
Mensajes: 25
Antigüedad: 16 años, 5 meses
Puntos: 1
Respuesta: día y año en php

Código PHP:
Ver original
  1. //MES CON DIGITO 0 DEL 01 AL 125.
  2. $dia_actual = date("Y", $tiempo_actual);
  3. // SI PONES LA "Y" ES EL AÑO EN QUE DIGITOS POR EJEMPLO 2011 Y SI PONES LA "y" ES EN 2 DIGITOS POR EJEMPLO : AÑO: 11