Second

STD.Date.Second( time )

timeA time value in the Time_ format.
Return:Second returns an INTEGER value representing the second in the range of 0-59.

The Second function returns the second from the time value.

Example:

IMPORT STD;
MyTime:= STD.Date.CurrentTime(TRUE);   //Local Time
  
t1 := STD.Date.Second(MyTime);
    //t1 contains the second of the current local time