TimeFromParts

STD.Date.TimeFromParts( hour, minute, second )

hourAn INTEGER1 hour value in the range 0 to 23.
minuteAn UNSIGNED1 minute value in the range 0 to 59.
secondAn UNSIGNED1 second value in the range 0 to 59.
Return:TimeFromParts returns a Time_t (An UNSIGNED3 holding a time of day in the decimal form HHMMDD.)

The TimeFromParts function returns a Time_t value from the hour, minute, and second parameters.

Example:

IMPORT STD;
  UNSIGNED1   MyHour   := 23;
  UNSIGNED1   MyMinute := 59;
  UNSIGNED1   MySecond := 50;
  
T := STD.Date.TimeFromParts(MyHour,MyMinute,MySecond);
    //T contains 235950