This is very simple but I can’t find a function to format string to time format.
I have the following string that want to format it to time:
0:2:1
How can I make it 00:02:01?
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.
Ok, here’s a simple little script:
This will take any string such as
0:2:1,0:3:15, or10:4:9and create a string in the proper time format of00:00:00.