PDA

View Full Version : how we can display current time




rajneesh.deora
Sep 2, 2008, 11:53 PM
Hi all,
I need to display current time on a label.I am using NSTimer for this but am not getting the current time.
so plzz let me now how the current time will display.Its very URGENT..


Any help will be appreciable.Awaiting for your positive respose..

Thanks in Advance...



robbieduncan
Sep 3, 2008, 02:19 AM
NSDate and NSDateFormatter

mccannmarc
Sep 3, 2008, 03:12 AM
This guy is starting to get on my nerves. I may be way off here and I apologize if I am but if you don't know how to use SIMPLE features in cocoa why the hell are you writing software for clients? (I assume you are writing software for clients as in every post you say that the question you have asked is URGENT and you refer to yourself as we which to me indicates you are working as a team) It seems that every time you need to do something you are asking in here how to do it! Even if you are not writing software for clients why don't you look at the SDK documentation before asking questions that can be answered with 1 or 2 words??