View Full Version : Time Format Question

Aug 22, 2008, 01:26 PM
I'm using an NSTimer to display mins and secs ticking down in a format like: "13:23". I wrote a function to format the integer seconds of the timer's current remaining time into the format I want, returning a string. But it made me wonder if there were any built-in objects or methods that will already do this for me?

Aug 22, 2008, 01:30 PM
Have a look at the NSDateFormatter documentation.

Aug 22, 2008, 02:38 PM
Thanks, I'll check that out.