I am new to iphone development.I am having array of date .I want to print the date in my console.But I didn't want to convert it into a string and print it.I want to print as a date.How can i achieve that.Please help me out thanks.
+1
A:
NSLog(@"%@", [NSDate date]);
The %@
specifier can accept any ObjC objects. It will call -description
to convert it into a string automatically when printing.
KennyTM
2010-02-20 09:40:16
Thanks it was cool...
Warrior
2010-02-20 17:37:54