Current Hour & Minutes
Current Hour & Minutes
- Subject: Current Hour & Minutes
- From: محمد الركيان <email@hidden>
- Date: Sun, 8 Apr 2007 23:15:58 +0300
Hi...
Hmm, this look easy, but I don't know why it doesn't work with me !!!
All what I need is the current hour & minutes as int.
====== ONE OF MY TRYING =======
I use NSDate and NSCalendar and some of the out resource classes, :
( but I didn't get what I want .
====== ONE OF MY TRYING =======
I use this: http://theocacao.com/document.page/389
It look like useful but when I do:
NSLog(@"+currentHour: %i", [THCalendarInfo currentHour]);
It show me the current hour, BUT when I do:
int currentHour = [[NSString stringWithFormat:@"%i",[THCalendarInfo
currentHour]] intValue];
currentHour valuable will get zeros. !!!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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