• 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: date 0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: date 0


  • Subject: Re: date 0
  • From: Michelle Steiner <email@hidden>
  • Date: Sun, 10 Feb 2002 08:51:26 -0700

On 2/10/02 12:51 AM, Marc K. Myers <email@hidden> wrote:

>Other people have reported that their systems can't resolve "date 0". I
>pulled all scripting additions out of their folder, fired up Script
>Editor and entered this script:
>
>set numDate to 0
>date numDate
>
>The result was:
>
>--> date "Friday, January 1, 1904 12:00:00 AM"

Two things.

First,

Set numDate to 0 does not work for me, but Set numDate to "0" does work.
This indicates to me that you have an OSAX that's coercing the number to
a string.

Secondly,

Instead of getting Jan 1, 1904, I get midnight of the current date. I
don't know why this difference exists.

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Applescript editing program problem
  • Next by Date: Re: date 0
  • Previous by thread: Re: date 0
  • Next by thread: Re: date 0
  • Index(es):
    • Date
    • Thread