RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.GetTime Function

Returns the current time.

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

SysUtils

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!