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,187
  • 48
  • 151
  • 237

2 Answers2

0

Just parse the string to a NSDate object...

Oscar Gomez
  • 18,248
  • 12
  • 81
  • 116
0

NSDateFormatter is your friend.

Henning
  • 2,700
  • 2
  • 17
  • 16