
03/03/2009, 09:21
|
| | Fecha de Ingreso: febrero-2009
Mensajes: 17
Antigüedad: 16 años Puntos: 0 | |
Problema con Insertar fechas Necesito saber como es el formato para insetar fechas es Access desde vb.net ya que tengo el Insert y cuando lo realiza me inserta las fechas como mm/dd/yyyy y el formato esta como dd/mm/yy el codigo que tengo es el siguiente:
StrFechaPago = CDate(StrLinea.Substring(3, 2) & "/" & StrLinea.Substring(5, 2) & "/" & StrLinea.Substring(7, 4)).ToString("dd/MM/yyyy")
StrPeriodoDel = CDate(StrLinea.Substring(17, 2) & "/" & StrLinea.Substring(19, 2) & "/" & StrLinea.Substring(21, 4)).ToString("dd/MM/yyyy")
StrPeriodoAl = CDate(StrLinea.Substring(25, 2) & "/" & StrLinea.Substring(27, 2) & "/" & StrLinea.Substring(29, 4)).ToString("dd/MM/yyyy") |