how to add hours in a nsdate?

Posted by Rahul Vyas on Stack Overflow See other posts from Stack Overflow or by Rahul Vyas
Published on 2009-10-31T13:29:03Z Indexed on 2010/03/25 14:43 UTC
Read the original article Hit count: 648

i have a date converted to double value and saved in database.now i want to compare if cureentdate > myDataBaseDate+8 hours. means i want to get 8 hours more added in my database date. i'm converting date into double values.so how do i get 8 hours later time from my database saved date. how do i compare if(currentDateTime>DateFromdatabaseValue+DateByAdding8HoursInDataBase)

© Stack Overflow or respective owner

Related posts about iphone-sdk-3.0

Related posts about objective-c