SecondsFromTime function returns seconds portion of a time.
Input: time
Output: seconds (dfloat)
Examples. If mylink.mytime contains the time 22:30:22, then the two following functions are equivalent, and return the value 22.
SecondsFromTime(“22:30:22”)
SecondsFromTime(mylink.mytime)
Input: time
Output: seconds (dfloat)
Examples. If mylink.mytime contains the time 22:30:22, then the two following functions are equivalent, and return the value 22.
SecondsFromTime(“22:30:22”)
SecondsFromTime(mylink.mytime)
You can watch video tutorial of this function here: