Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/10/2010, 15:44
Avatar de VbOkonly
VbOkonly
 
Fecha de Ingreso: julio-2009
Ubicación: San Justo, Buenos Aires, Argentina
Mensajes: 490
Antigüedad: 14 años, 10 meses
Puntos: 5
Respuesta: Problema con Datetime

Resolvido:

En predeterminado va none

y para insertar la fecha y hora del servidor se usa NOW()

mysql_query("insert into tutorial SET title='$title', foto='$destino' , horafecha= NOW()");

Y toma la fecha y hora del servidor.