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

Re: Date anomaly


  • Subject: Re: Date anomaly
  • From: John Delacour <email@hidden>
  • Date: Sun, 2 Mar 2003 11:17:52 +0000
  • Mac-eudora-version: 6.0a8

At 10:33 am +0000 2/3/03, John Delacour wrote:

Can anyone explain why I'm getting this problem?

set d to "1/1/1"
date d
--> date "Monday, January 1, 2001 12:00:00 am"

try
(current date) - (date d)
on error e
e
end try
--> Can't make date "Monday, January 1, 2001 12:00:00 am" into a number or date.


Solved it, but this is new. It seems everything has to be GOT nowadays :-<

Explanation from Apple ?


set d to "1/1/1"
(current date) - (get date d)
--> 68296201
_______________________________________________
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: Date anomaly
      • From: Christopher Nebel <email@hidden>
    • Re: Date anomaly
      • From: Michelle Steiner <email@hidden>
References: 
 >Date anomaly (From: John Delacour <email@hidden>)

  • Prev by Date: Date anomaly
  • Next by Date: Re: FaceSpan?
  • Previous by thread: Date anomaly
  • Next by thread: Re: Date anomaly
  • Index(es):
    • Date
    • Thread