• 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: Getting the last date of the month?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the last date of the month?


  • Subject: Re: Getting the last date of the month?
  • From: Nick Zitzmann <email@hidden>
  • Date: Fri, 23 Mar 2007 17:24:36 -0600


On Mar 23, 2007, at 4:21 PM, Deborah Goldsmith wrote:

I missed the original post, but I think [NSCalendar rangeOfUnit:inUnit:forDate:] might be an easier way to do this.

That's the strategy that didn't work, since if the month contains non- contiguous days (e.g. October 1582), then it returns the number of days in the month, not the last day of the month (which is what I wanted).


Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________

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


  • Follow-Ups:
    • Re: Getting the last date of the month?
      • From: Deborah Goldsmith <email@hidden>
References: 
 >Getting the last date of the month? (From: Nick Zitzmann <email@hidden>)
 >Re: Getting the last date of the month? (From: Greg Titus <email@hidden>)
 >Re: Getting the last date of the month? (From: "Jim Thomason" <email@hidden>)
 >Re: Getting the last date of the month? (From: Deborah Goldsmith <email@hidden>)

  • Prev by Date: Progress Sheet on a NSDocument
  • Next by Date: Re: Core Data
  • Previous by thread: Re: Getting the last date of the month?
  • Next by thread: Re: Getting the last date of the month?
  • Index(es):
    • Date
    • Thread