in reply to perl time conversion

I could always multiply the first number by 60x60 and the second number by 60 alone and then add all three number up but if there was a function already written for this it would save a lot of time.

It may or may not be an issue for you, but if you're dealing with the local time remember daylight savings may muck up your calculations.