Re: NSFileModificationDate after 2039
Re: NSFileModificationDate after 2039
- Subject: Re: NSFileModificationDate after 2039
- From: j o a r <email@hidden>
- Date: Mon, 25 Apr 2005 10:12:18 +0200
On 2005-04-25, at 10.04, Gerriet M. Denkmann wrote:
What is so special about "2038-01-19 03:14:07 +0000" ? Is this the
date where the world will end?
HFS+ can do dates up to: "2040-02-06 06:28:15 +0000" - why does
NSFileManager refuses to set some dates? Is this documented somewhere?
If you google for "2038-01-19", you will for example find:
<http://www.iee.org/Policy/Areas/SCS/problemdates.cfm>
2038/01/19:
(03:14:07 GMT) 2**31 seconds from 00:00:00 GMT, Thursday 1st January
1970 (UNIX's birthday). The seconds counter used for date/time
information in UNIX and C and C++ will reach 2,147,483,647 - the
largest number which can be stored as a 32-bit signed integer. As a
result an overflow problem will occur (i.e. the value of the next
number is unpredictable). [...]
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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