RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.Time Function

Returns the current time.

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

SysUtils

Time and GetTime 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!