![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#5
|
||||
|
||||
|
Prueba esta función:
Código:
function StringToDate(S: String): TDate;
var
Coma: Integer;
begin
Coma := Pos(',', S);
if Coma = 0 then
raise Exception.Create('Formato inválido');
Delete(S, 1, Coma);
ActiveX.VarDateFromStr(S, 0, 0, Double(Result));
end;
// Saludos |
|
|
|