DateTime.Today

Syntax

Today: DateTime;

Description

The Today method returns the current date.

Example

Sub Main;

Var

DT: DateTime;

s: String;

Begin

DT := DateTime.Today;

s := DT.ToString;

End Sub Main;

After executing the example the "DT" variable will contain the current date, and the "s" variable will contain the current date converted into a string.

See also:

DateTime