How can an NSDateComponents be converted to NSData (NSData not NSDate)
===

I want to store an NSDateComponents to NSUserDefaults, so need to wrap it in an NSData first, how can this be done?

Alternatively is there another way of storing an NSDateComponent to user defaults?