How can i get current system time?

2008-05-31 Thread haresh vavdiya
Hi team, Thank for giving me answer. I want to do one small clock for my iPhone but i can't understand how can i get current system time? I have read about NSDate, NSTimer but i can't understand how to use that class for getting current system time? Please guide

Re: How can i get current system time?

2008-05-31 Thread Jens Alfke
On 30 May '08, at 11:40 PM, haresh vavdiya wrote: I want to do one small clock for my ** but i can't understand If you keep using that word here even after repeated warnings, the moderator is going to ban you. I am not kidding. I have read about NSDate, NSTimer but

Re: How can i get current system time?

2008-05-31 Thread Andrew Farmer
On 30 May 08, at 23:40, haresh vavdiya wrote: Thank for giving me answer. I want to do one small clock for my iPhone but i can't understand how can i get current system time? I have read about NSDate, NSTimer but i can't understand how to use that class

Re: How can i get current system time?

2008-05-31 Thread j o a r
On May 30, 2008, at 11:40 PM, haresh vavdiya wrote: I have read about NSDate, NSTimer but i can't understand how to use that class for getting current system time? You could use +[NSDate date], as it according to the documentation: Creates and returns a new date set to the current