0

I have two nsdate, this moment date and a nsdate that I know; I want to to the difference and I want as result seconds...

for actually NSDate it's not a problem but if I want NSDate for 13/09/2012 at 12:30?

can yuo help me?

cyclingIsBetter
  • 17,447
  • 50
  • 156
  • 241

2 Answers2

0

Just parse the string to a NSDate object...

Oscar Gomez
  • 18,436
  • 13
  • 85
  • 118
0

NSDateFormatter is your friend.

Henning
  • 2,710
  • 2
  • 17
  • 16