Basically I want the opposite of this question: How to parse an ISO-8601 duration in Objective C? which asks for a transform from a ISO-8601 time interval duration to NSTimeInterval.
I want to go from two NSDate objects to a ISO-8601 time interval duration. Preferably I could specify the accuracy such as to the nearest year, month, or day etc. I was thinking I could strip the date components off each and create the duration that way but I was wondering if someone already made something that is battle tested and production ready.