Calculates amount of seconds from hours minutes and seconds.