Get the local date and time of the system  

Send By: Q3 Team
Web : http://www.q3.nu
Email: dlib@q3.nu
Date: 15/07/99

Tip accessed 713 times

 




 function GetLocalT: String;
 var
    stSystemTime : TSystemTime;
 begin
    Windows.GetLocalTime( stSystemTime );
    Result := DateTimeToStr( SystemTimeToDateTime( stSystemTime ) );
 end;



Call example:


      Label1.Caption:=GetLocalT;