On Tue, Nov 3, 2009 at 12:56 PM, David Rowland <rowla...@sbcglobal.net> wrote:
> But NSDate does have a knowledge of time zones. The reason I am doing this
> it to do some arithmetic on the dates - like this,

No, it does not.  NSDate refers to a point in time ("seven seconds
after the big bang"), not to how anyone might describe that point in
time ("January 15, 6123457892389 B.C. 00:00:07 EDT", give or take a
few millennia :-).

If you want to do anything with time zones, you need to interpret the
NSDate relative to a time zone.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to