The TIME data type is really a DINT in ms (milliseconds)...
So you if you take the DINT and divide by 1000 you have total seconds.
Take that result and DIV by 60 and you have minutes, MOD (this instruction gives the remainder) the same result by 60 and you get seconds.