RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.GetTime Function

Returns the current time.

Pascal
function GetTime: TDateTime;
C++
TDateTime GetTime();

GetTime and Time return the current time as a TDateTime value. The two functions are completely equivalent.

Note: Time clashes with an Xlib function of the same name. Use GetTime in Linux and cross-platform code.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!