• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
sick and not thinking right...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sick and not thinking right...


  • Subject: sick and not thinking right...
  • From: email@hidden
  • Date: Tue, 9 Mar 2004 14:57:18 -0800

hey all,

this is killing me among other things whats wrong with this?

NSCalendarDate *now = [NSCalendarDate calendarDate];
int hours, minutes, seconds;
[startTime years:NULL months:NULL days:NULL hours:&hours
minutes:&minutes seconds:&seconds sinceDate:now];
NSCalendarDate *dateDiff = [NSCalendarDate dateWithYear:NULL month:NULL
day:NULL hour:hours minute:minutes second:seconds timeZone:[NSTimeZone
systemTimeZone]];
[statusItem setTitle:[dateDiff
descriptionWithCalendarFormat:@"%H:%M:%S"]];

startTime is a previously declared time.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: sick and not thinking right...
      • From: "Louis C. Sacha" <email@hidden>
    • Re: sick and not thinking right...
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: nibtool warnings
  • Next by Date: Re: OK, but what do 'attributes' look like?
  • Previous by thread: nibtool warnings
  • Next by thread: Re: sick and not thinking right...
  • Index(es):
    • Date
    • Thread