I have the five following strings (they are supposed to act like time):
11-20
9:30-20:00
8-20
7-16,30
9.30-9.50
I wonder if there is any way to convert them all to the format HH.HH-MM-MM.
For example 11-20 should be converted to 11.00-20.00.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
How about this:
http://codepad.viper-7.com/2esU4N