|
-
Jul 23rd, 2015, 01:31 PM
#1
Thread Starter
Addicted Member
Re: Converting HH:MM:SS Into Seconds (And Reversed!)
I prefer my code because HMSToSeconds can work in either format HH:MM:SS / MM:SS and the Hour part can have as many digits as needed.
-
Jul 24th, 2015, 11:30 AM
#2
Re: Converting HH:MM:SS Into Seconds (And Reversed!)
I guess you could always put your code in the "Else" case, if the TimeSpan.TryParse can't handle the format.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|