• 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: Very strange dates - BUG
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Very strange dates - BUG


  • Subject: Re: Very strange dates - BUG
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 29 Jan 2003 11:29:57 -0700

On Wednesday, January 29, 2003, at 10:40 AM, Paul Berkowitz wrote:

set thedate to date "1/1/1971"
set thedate to thedate + (-1)
-->date "Monday, November 24, 1834 5:31:43 PM"

To further complicate this,

set thedate to thedate - 1
-->date "Wednesday, January 19, 1972 3:14:06 AM"

So, what is the difference between + (-1) and - 1?

--Michelle

--
"There's some good in the world, Mr. Frodo, and it's worth fighting for."
_______________________________________________
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.
  • Follow-Ups:
    • Re: Very strange dates - BUG
      • From: Paul Berkowitz <email@hidden>
    • Re: Very strange dates - BUG
      • From: Doug McNutt <email@hidden>
References: 
 >Very strange dates - BUG (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Run a Macro in MS Excel (v.X)
  • Next by Date: Re: Run a Macro in MS Excel (v.X)
  • Previous by thread: Very strange dates - BUG
  • Next by thread: Re: Very strange dates - BUG
  • Index(es):
    • Date
    • Thread