RE: UTC<->Local Time Conversion Problems
RE: UTC<->Local Time Conversion Problems
- Subject: RE: UTC<->Local Time Conversion Problems
- From: "John C. Daub" <email@hidden>
- Date: Thu, 11 Apr 2002 07:32:11 -0500
>
From: "Tom Mattison" <email@hidden>
>
Reply-To: <email@hidden>
>
Date: Wed, 10 Apr 2002 11:28:49 -0400
>
To: <email@hidden>
>
Subject: UTC<->Local Time Conversion Problems
>
>
Forgive me if this topic is old news to most of you, but I have grown weary
>
of searching apple and the list archives for an explanation and possible
>
work-around.
>
>
When copying files from an OS X system to an OS 9 system using
>
copypath:topath:, file creation and/or modification dates can be 1-2 hours
>
off from the original. Apparently it has something to do with the file
>
being created during Daylight Savings Time vs Standard Time. I understand
>
that this is a known problem, but I can't seen to find an explanation of the
>
problem or any work-arounds.
>
>
If anyone can point me a good explanation or additional info, I would be
>
most appreciative.
I don't know how much this is applicable or helps (I'm more a Carbon than
Cocoa programmer), but it may have something to do with HFS vs. HFS+ volume
formats. I believe HFS volumes store dates in local time, whereas HFS+
volumes store in UTCDateTime. There are Carbon routines to work with
UTCDateTime (UTCUtils.h). That should give you a few keywords to search on.
;-) As well, log into Apple's Knowledge Base:
<
http://kbase.info.apple.com/>
I did a search for "daylight savings time" and came up with some articles
that may be of relevance.
Sorry that's not much, but I hope it's something to get you going. I've been
working a lot with dates lately myself, and I've been unable to find much
documentation as well. :-\ Good luck.
--
John C. Daub }:-)>=
<
mailto:email@hidden> <
http://www.hsoi.com/>
"If it makes you happy, it can't be that bad." - Sheryl Crow
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.