On Apr 12, 2010, at 9:35 AM, Jeffrey Oleander wrote:

A date-time is a date-time, regardless of how it is
displayed or entered or obtained from the system.
The whole purpose of the NSDate object is to allow easy
comparison, and determination of intervals by subtraction...

Yup. An NSDate is really just a fancy wrapper around a floating-point number (a CFAbsoluteTime) representing the number of seconds since 1/1/2001.

(OK, an NSDate also remembers a time zone, but that's just for converting to human-readable form, it doesn't affect the actual time stored.)

—Jens_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to