RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDateTime::CurrentDateTime Method

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

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

System::TDateTime::CurrentDateTime retrieves the current date and time, and returns it as a new System::TDateTime::TDateTime object. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!