FROM : ???? ???????
DATE : Sun Apr 08 22:15:58 2007
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. !!!
DATE : Sun Apr 08 22:15:58 2007
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. !!!
| Related mails | Author | Date |
|---|---|---|
| ???? ??????? | Apr 8, 22:15 | |
| Nick Zitzmann | Apr 8, 22:34 | |
| Scott Stevenson | Apr 9, 00:03 | |
| Scott Stevenson | Apr 9, 00:13 |






Cocoa mail archive

