• 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: NSCalendarDate saving and loading to get the same date-time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSCalendarDate saving and loading to get the same date-time


  • Subject: Re: NSCalendarDate saving and loading to get the same date-time
  • From: Shawn Erickson <email@hidden>
  • Date: Mon, 09 Oct 2006 18:01:25 -0700


On Oct 9, 2006, at 2:09 PM, Sarat Kongara wrote:

Thanks Shawn. I understand the NSDate behaviour better now. I guess
the best option for me is to save the Timezone with the dates so I can
adjust them on load or save the components individually
(mm,dd,yyyy,hh,mm,ss).

I still don't understand what your issue is. The NSDate you save is the same one you get back when you load what you saved (same in the sense that it represents the same exact time). You should have no need to adjust anything.


Can you better describe the problem you are trying to solve?

-Shawn
_______________________________________________
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: 
 >NSCalendarDate saving and loading to get the same date-time (From: "Sarat Kongara" <email@hidden>)
 >Re: NSCalendarDate saving and loading to get the same date-time (From: Uli Kusterer <email@hidden>)
 >Re: Re: NSCalendarDate saving and loading to get the same date-time (From: "Sarat Kongara" <email@hidden>)
 >Re: Re: Re: NSCalendarDate saving and loading to get the same date-time (From: "Shawn Erickson" <email@hidden>)
 >Re: Re: Re: Re: NSCalendarDate saving and loading to get the same date-time (From: "Sarat Kongara" <email@hidden>)

  • Prev by Date: Re: Core Data - Transient getters called during save
  • Next by Date: NSTreeController selection (probably a silly mistake)
  • Previous by thread: Re: Re: Re: Re: NSCalendarDate saving and loading to get the same date-time
  • Next by thread: CoreData & temporary oid (REPOST)
  • Index(es):
    • Date
    • Thread