Top "Nsdate" questions

NSDate objects represent a single point in time.

Rounding of NSdate to nearest hour in iOS

I have data in the format time: 13:52, 10:30, 11:48 etc I would like to round to the nearest hour. like for 13:52 -&…

iphone ios nsdate nscalendar nsdatecomponents
How do I count time in iOS?

I don't want to set up a timer that "fires" (and does something) after a certain amount of time has …

objective-c ios nsdate nstimer nstimeinterval
NSTimer not firing

I have an NSTimer that I init with this code: testTimer = [[NSTimer alloc] initWithFireDate:[new objectAtIndex:0] interval:0.0 target:self selector:@…

objective-c cocoa macos nsdate nstimer
how to use NSDateFormatter to see "Today" string

apple use it in the messages app for today messages Today 11:45 AM Yesterday 11:45 AM i see it in the apple …

iphone ios objective-c nsdate nsdateformatter
NSDate / NSDateComponent problem

Let's say we are the 15/07/2010, I would like to get the first day of the previous week, which is the 5 …

iphone nsdate nsdatecomponents
Nsdateformatter returns me day in language of the phone selected. Can it return me only English all the time?

I am using dateformatter to get days and time in the my application. But I am facing an issue when …

iphone ios4 ios5 nsdate nsdateformatter
NSDate but no NSTime , how to convert a string representation of time (without date)

My problem is I want to have some way to represent time (without date), like time of day in my …

ios nsdate nsdateformatter nstimeinterval