DateTime.Second

Syntax

Second: Integer;

Description

The Second property returns the number of seconds from the current variable.

Example

Sub Main;

Var

i: Integer;

DT: DateTime;

Begin

DT := DateTime.Now;

i := DT.Second;

End Sub Main;

After executing the example the "i" variable will contain the number of seconds from the "DT" variable.

See also:

DateTime