On May 31, 2008, at 4:22 AM, haresh vavdiya wrote:
I have successfully get current time but now i want to to
digital
clock but for that i need to have current minute and hours, so how
can i get
this?
I found some method of NSCalenderDate which give us hours and
minutes i can't get current time and date it display 2001 jan 1
Use of NSCalendarDate strongly discouraged. It is not deprecated yet,
however it may be in the next major OS release after Mac OS X v10.5.
For calendrical calculations, you should use suitable combinations of
NSCalendar, NSDate, andNSDateComponents, as described in Calendars in
Dates and Times Programming Topics for Cocoa <http://developer.apple.com/documentation/Cocoa/Conceptual/DatesAndTimes/Articles/dtCalendars.html#//apple_ref/doc/uid/TP40003470-DontLinkElementID_2
>.
mmalc
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]