• 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: "11/31/99" to date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "11/31/99" to date


  • Subject: Re: "11/31/99" to date
  • From: John W Baxter <email@hidden>
  • Date: Wed, 20 Dec 2000 19:23:40 -0800

At 5:15 +0800 12/21/00, Emmanuel wrote:

>[Quoting another]
>>How would you set
>>
>>"11/31/99" as date ? ? ?
>>
>>Currently I get an error.
>
>November has 30 days, hasn't it.

In 1999, yes. ;-)

So we have two problems: an invalid way of asking for an invalid date.

The valid way to ask is
date "11/31/99"
which rightly complains about the 31 (really it just complains about an
invalid date).

date "11/30/99"
is quite happy...producing a 64-bit number which is then decompiled as
date "Tuesday, November 30, 1999 0:00:00"
(on my machine...probably not on Emmanuel's or in fact most others--since I
use English but with the only sensible (ie, 24-hour) clock ;-) ).

--John
--
John Baxter, Port Ludlow, WA (USA).
middle Wednesday of {Sunday, Monday, Tuesday, Wednesday}
--> Sunday


  • Follow-Ups:
    • Re: "11/31/99" to date
      • From: Takaaki Naganoya <email@hidden>
References: 
 >Re: "11/31/99" to date (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: Relative path
  • Next by Date: Illustrator scripting update
  • Previous by thread: Re: "11/31/99" to date
  • Next by thread: Re: "11/31/99" to date
  • Index(es):
    • Date
    • Thread