You are given two strings startTime and endTime representing two valid timestamps on the same day in the format "HH:MM:SS".
Return the total number of elapsed seconds from startTime to endTime.
Constraints:
startTime.length
endTime.length
startTime and endTime are valid times in the format "HH:MM:SS"
endTime is not earlier than startTime
You are given two strings startTime and endTime representing two valid timestamps on the same day in the format "HH:MM:SS".
Return the total number of elapsed seconds from startTime to endTime.
Constraints:
startTime.length
endTime.length
startTime and endTime are valid times in the format "HH:MM:SS"
endTime is not earlier than startTime