You might consider using DateTime values. In this case, a subtraction (minus) will give you a result in seconds.
>Dear Experts,
>
>I want to minus time1 from time2 as
>
>time2="10:45:56"
>time1="08:58:59"
>
>What will be the source codes to substract "08:58:59" from "10:45:56"?
>
>Please help
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)