Are you able to use any other method for your storing your times? It can be done using a string time format like that but it will take more work. It would be easier if you stored the times in unix-time format (timestamp). You can easily determine exact difference (down to seconds) in 2 times with this.