Justo estaba por decir que para esto me base en una función hecha por Domingo
...
Código Delphi
[-]
function convertirAGMT(const value:Tdatetime):TDateTime;
var
tZone:TTimeZoneInformation;
begin
GetTimeZoneInformation(tZone);
result:=IncMinute(value,tZone.Bias);
end;
function FechaHoraGMTaLocal(FechaHoraGMT:TDateTime):TDateTime;
var
Info: TIME_ZONE_INFORMATION;
Bias: TDateTime;
begin
GetTimeZoneInformation(Info);
Bias:= abs(Info.Bias) / 1440;
if Info.Bias < 0 then
result:= FechaHoraGMT + Bias
else
result:= FechaHoraGMT - Bias;
end;
Esta esto Correcto?