Ver Mensaje Individual
  #4 (permalink)  
Antiguo 04/01/2009, 01:34
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 17 años, 10 meses
Puntos: 2135
Respuesta: Guardar fechas en MySQL

Si te refieres a la función date() de PHP, si te fijas en el Manual, el segundo parámetro es un timestamp, no un string.

Necesitas pasarle un timestamp númerico a la función y lo puedes obtener usando strtotime.

Saludos.