Ver Mensaje Individual
  #2 (permalink)  
Antiguo 16/06/2008, 17:37
mankel
 
Fecha de Ingreso: marzo-2007
Ubicación: Celayork
Mensajes: 38
Antigüedad: 18 años
Puntos: 3
Respuesta: Insert DateTimePicker

Por aqui anda un tema donde expone este ejemplo:

Código:
Dim fecha As DateTime = DateTime.Now
Dim fec AsString
fec = Format(fecha, "yyyy-MM-dd hh:mm:ss")
 
'Aqui convierto el string a DateTime
fecha = Convert.ToDateTime(fec)
Prueba algo asi, y verás que tendras un mejor resultado. Consulta también la ayuda en línea de FORMAT() para mas detalles.

Saludos