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

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


  • Subject: Re: Re: NSCalendarDate saving and loading to get the same date-time
  • From: "Sarat Kongara" <email@hidden>
  • Date: Mon, 9 Oct 2006 12:42:09 -0700

Thanks Nick, I wasted 2 days on trying to figure this out. I was
thinking about either saving the TimeZone or saving the Date-Time
components as an array (mm-dd-yyyy hh:mm:ss) instead.

Some part of my application data is saved using Core Data. What if the
date is part of a NSManagedObject, I used the date type in the
NSManagedObject Model and on load and save I see the same issue. Any
suggestions?

Regards
Sarat

On 10/9/06, Nick Zitzmann <email@hidden> wrote:

On Oct 9, 2006, at 1:28 PM, Sarat Kongara wrote:

> Is there a way to make sure the date-time is the same value (same
> mm-dd-yyyy hh:mm:ss ) after save and load even if the timezone is
> changed.

No. But you could save the time zone name string as a different key.

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



_______________________________________________
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: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: NSCalendarDate saving and loading to get the same date-time
  • Next by Date: Re: Re: NSCalendarDate saving and loading to get the same date-time
  • Previous by thread: Re: NSCalendarDate saving and loading to get the same date-time
  • Next by thread: Re: NSCalendarDate saving and loading to get the same date-time
  • Index(es):
    • Date
    • Thread