I am working on C# application which will read .srt file and show it on screen.
File format is simply like this;
1 00:00:06,000 00:00:07,400 Enjoy the movie!
2 00:00:07,500 00:00:09,500 Hi, my name is Mary
3 00:00:22,000 00:00:25,000 Hello my name is John.
I am using a timer which is ticking every 100 milliseconds and on every single tick I
want to check if value is between start and end. In this case first will be between
00:00:06,000 and 00:00:07,400. But I am not sure what value I should use. I tried to parse it to DateTime but it did not convert.
Is there any idea?
You have to parse using the type TimeSpan take a look here