System.CurrentDateTime() Method
Version: Available or changed with runtime version 1.0.
Gets the current DateTime.
Datetime := System.CurrentDateTime()
Hinweis
This method can be invoked using property access syntax.
Hinweis
This method can be invoked without specifying the data type name.
Datetime
Type: DateTime
var
TestDateTime : DateTime;
TestDateTime := CurrentDateTime;
Message(Format(TestDateTime));
The message window displays the current date and time.