How can the DAAppearance Time from the DiskArbitration be converted to a valid Timestamp?
I tried the following:
if let appearanceTime = diskinfo["DAAppearanceTime"] as? NSNumber{
print(appearanceTime)
let date = NSDate(timeIntervalSince1970: TimeInterval(appearanceTime))
print(date)
}
I get the correct DAAppearanceTime back from the function but the wrong Year after the conversion:
511348742.912949
1986-03-16 09:19:02 +0000