Thanks for the replies I overcame the problem by using the time_day / 100 example time_day = 1652; hour = time_day / 10, 16.52 is the new variable and I display that on a panel and cover the decimal with another panel containing ':'
But JustSid this is the exact calculation I was looking for to give me the minutes! Thanks