iOS: How to get NSDate day, month and year in integer format? Ricardo 9:39If you want to get day, month and year components of NSDate in integer use this: NSDate * currentDate = [ NSDate date ]; NSCalendar * ...Read More
iOS: How do I convert NSDate to NSString? Unknown 10:42You can use: NSDateFormatter * formatter = [[ NSDateFormatter alloc ] init ]; [ formatter setDateFormat :@ " yyyy-MM-dd HH:mm:ss...Read More
iOS: Compare two dates Unknown 11:02 To compare two dates we use compare: - (NSComparisonResult)compare:(NSDate *)anotherDate compare Returns an NSComparisonResult value ...Read More