function s = elapsedTime(t1, t2)
%ELAPSEDTIME Difference between two times
%  s = elapsedTime(t1, t2) returns the number of seconds
%  between times t1 and t2 where the two times are
%  specified on a 24-hour clock.
%
%  t1 and t2 are expected to be vectors with three
%  elements where the first element is the hour,
%  the second element is the minute, and the 
%  third element is the second on a 24-hour
%  clock.

time1 = toSeconds(t1(1), t1(2), t1(3)); 
time2 = toSeconds(t2(1), t2(2), t2(3));

s =  time2 - time2;

end
