Second: Integer;
The Second property returns the number of seconds from the current variable.
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: