Re: How to Display a Time Interval

Shane Stanley

On 20 May 2019, at 4:20 am, Gary L. Wade <> wrote:

After you get the components using the calendar you wish to use with your two dates, then call NSDateComponentsFormatter.
If he has a time interval, why not just use NSDateComponentsFormatter's -stringFromTimeInterval:?

Either way, be aware that NSDateComponentsFormatter doesn't cope with an interval of 2^32 or above. Which seems a bit extraordinary, given it didn't appear until macOS 10.10.

Shane Stanley <>
<>, <>

Join to automatically receive all group messages.