Re: How can i get current system time?
Re: How can i get current system time?
- Subject: Re: How can i get current system time?
- From: Jens Alfke <email@hidden>
- Date: Fri, 30 May 2008 23:46:55 -0700
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 i can't understand
how to
use that class for getting current system time?
[NSDate date] returns an object representing the current date/time.
If you want to display that, you'll need to convert it to a string
using an NSDateFormatter.
Look at the "Date & Time Programming Guide".
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden