• 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: Number of days since 1/1/0001
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Number of days since 1/1/0001


  • Subject: Re: Number of days since 1/1/0001
  • From: ehsan saffari <email@hidden>
  • Date: Sat, 24 Nov 2001 20:20:29 -0600

On 23/11/2001 20:20, Christopher Nebel <email@hidden> apparently
wrote to Paul Berkowitz:

>The upshot of all this is that computing the number of days across the
>Julian/Gregorian boundary is non-trivial, and is likely to get you into
>arguments no matter which solution you choose. One wonders why you're
>bothering.

No matter how non-trivial, when subtracting a date ahead of the boundry
from a date behind the boundry AS does it without any fuss. It just can't
be done with a simple subtraction with dates below 1/1/1000.

The workaround is to reinvent the wheel and calculate the number of days,
which the MacOS already knows but does not expose.

Paul, please don't bother ;>

cheers
ehsan


  • Follow-Ups:
    • Re: Number of days since 1/1/0001
      • From: Chris Nebel <email@hidden>
    • Re: Number of days since 1/1/0001
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: RA OSAX error: missing file
  • Next by Date: Re: Number of days since 1/1/0001
  • Previous by thread: Re: Number of days since 1/1/0001
  • Next by thread: Re: Number of days since 1/1/0001
  • Index(es):
    • Date
    • Thread