I am looking for a way to get a list of the last six months from today.
Today is in May so I would be looking for an output of:
May 2013,
Apr 2013,
Mar 2013,
Feb 2013,
Jan 2013,
Dec 2012
I understand it will have something to do with NSDateComponents
, but I can't find any help on this one.