IsValidTime

STD.Date.IsValidTime( time )

timeA time value in the Time_t format.
Return:IsValidTime returns a BOOLEAN value.

The IsValidTime function returns TRUE if the time is valid, by validating each of the individual components (hours, minutes, and seconds).

Example:

IMPORT STD;

t1 := 225922;
t2 := 275922;

firstTest := STD.Date.IsValidTime(t1); //true
secondTest := STD.Date.IsValidTime(t2);//false