Skip navigation.
 
mlCurrent Hour & Minutes
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. !!!

Related mailsAuthorDate
mlCurrent Hour & Minutes ???? ??????? Apr 8, 22:15
mlRe: Current Hour & Minutes Nick Zitzmann Apr 8, 22:34
mlRe: Current Hour & Minutes Scott Stevenson Apr 9, 00:03
mlRe: Current Hour & Minutes Scott Stevenson Apr 9, 00:13