Enviado Por:
Q3 Team
Web :
http://www.q3.nu
Email:
dlib@q3.nu
Fecha:
15/07/99
Truco accedido 69
veces
Mediante GetSystemTimeUTC, obtendremos un string con la fecha y hora del sistema en formato UTC (Universal Time Coordinates), es decir, Coordenadas de tiempo universales.
function GetSystemTimeUTC : String;
var
stSystemTime : TSystemTime;
begin
Windows.GetSystemTime( stSystemTime );
Result := DateTimeToStr( SystemTimeToDateTime( stSystemTime ) );
end;