Aracılığıyla paylaş


CURRENTDATETIME Function (DateTime)

Gets the current DateTime.

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.

See Also

Concepts

DateTime Functions