RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDateTime::CurrentTime Method

Returns the current time as a System::TDateTime::TDateTime value.

Pascal
function CurrentTime: TDateTime; static;
C++
static __fastcall TDateTime CurrentTime();

System::TDateTime::CurrentTime retrieves the current time and returns it as a new System::TDateTime::TDateTime object with a 0 date value. 

 

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