Top "Nsdate" questions

NSDate objects represent a single point in time.

NSDate from NSDateComponents

I am trying to alter the hh, mm, ss component of an NSDate to that of another NSDate - but …

iphone objective-c nsdate nsdatecomponents
Sort array of objects by their NSDate property

Possible Duplicate: How to sort an NSMutableArray with custom objects in it? How does one sort an array of objects …

objective-c nsmutablearray nsdate sorting
Checking if one NSDate is greater than another

if (datStartDate > datEndDate) { This doesn't seem to work. I know there's a isEqual, etc., but how do I perform "…

objective-c nsdate
How to Get time difference in iPhone

I have 2 arrays with time values in it. They are in the following format. mm:ss:hundreds of a sec. …

iphone objective-c nsdate nstimeinterval
NSDateComponents of an NSDate

How do I get the NSDateComponents of a single NSDate? I don't want the components of the difference between 2 dates, …

objective-c cocoa nsdate nsdatecomponents
NSDate of yesterday

How do I create an NSDate object with a custom date other than the current date? For example I would …

swift nsdate
Calculate time difference in Cocoa

I have got two timevalues in the format: %H%M%S (E.G.161500) These values are text-based integers. Is there …

cocoa time nsdate nstimeinterval
How to find what day of the week for any given date using Cocoa

I'm trying to figure out what day (i.e. Monday, Friday...) of any given date (i.e. Jun 27th, 2009) Thank …

objective-c cocoa nsdate nscalendar nsdatecomponents
Measuring time Interval Since Now

anyone know or can provide some example code relating to "timeIntervalSinceNow" method... I need something like... time2(when app eneters …

iphone sdk xcode4 nsdate nstimeinterval
NSDate with date component from one and time component from another NSDate

I have two UIDatePicker controls in my app, one configured with UIDatePickerModeDate and one with UIDatePickerModeTime. I want to configure …

ios nsdate uidatepicker