|
-
Nov 20th, 2002, 09:05 PM
#1
Thread Starter
Frenzied Member
Converting a time in string format to minutes
I'm using C++ Builder 6
I'm trying to convert a string in the form "12:25", which represents a time of day, to minutes. So in this case "12:25" would become 745.
I've never done anything like this, and I can't seem to get anything working. I'm sure its something extremely simple.
I also need to convert a time in minutes to a time string, so 745 minutes would return "12:25", but I will attemp to do this part myself provided someone can assist me with the first part.
Thanx for any help!
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
|