• 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
Re: NSDate - extract values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDate - extract values


  • Subject: Re: NSDate - extract values
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 19 Apr 2005 13:32:05 -0400
  • Organization: Rogue Research

On 2005-04-16 19:08, Dave Rosborough said:

>Try NSCalendarDate.  It has methods such as -(int)minuteOfHour and
>-(int)yearOfCommonEra that will provide the data you want.

Can you can create an NSCalendarDate from an NSDate with:

- (NSCalendarDate *)dateWithCalendarFormat:(NSString *)formatString
timeZone:(NSTimeZone *)timeZone


--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSDate - extract values (From: Jerry Brace <email@hidden>)
 >Re: NSDate - extract values (From: Dave Rosborough <email@hidden>)

  • Prev by Date: NSScrollView
  • Next by Date: Re: NSDocument-based architecture suiting my NSBundle-based documents case?
  • Previous by thread: Re: NSDate - extract values
  • Next by thread: Completing a sound before continuing on
  • Index(es):
    • Date
    • Thread