Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the current DateTime.
Syntax
DateTime := CURRENTDATETIME
Property Value/Return Value
Type: DateTime
The current DateTime.
Example
This example requires that you create a DateTime variable named TestDateTime.
TestDateTime := CURRENTDATETIME;
MESSAGE(Format(TestDateTime));
The message window displays the current date and time.