I'm trying to figure out how to get a readable time amount from timeIntervalSinceDate. Right now I have an NSDate with key "punchInTime" stored in NSUserDefaults, but I don't know how to get a readable time back when I want to find the difference between the stored NSDate "punchInTime" and the current time. I have:
var totalWorkTime = NSDate.timeIntervalSinceDate(punchInTime)
I'd like to interpolate "totalWorkTime" into a string to have readable time amounts.
Any help appreciated! Thanks.