Hello I have dates like this:
Tue, 07 Aug 2012 10:38:49 +0000
And what I want is if it’s today to display only the hours: 10:38
If it was yesterday to display: Yesterday, 10:38
If it was last month to display: Wed,07 July, 10:38
You get that idea. Thanks
Have a look at the developer documentation.
More specifically look at
NSDateComponentandNSDate