Date anomaly
Date anomaly
- Subject: Date anomaly
- From: John Delacour <email@hidden>
- Date: Sun, 2 Mar 2003 10:33:54 +0000
- Mac-eudora-version: 6.0a8
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.
date "Monday, January 1, 2001 12:00:00 am"
--> date "Monday, January 1, 2001 12:00:00 am"
(current date) - (date "1/1/1")
--> 68293831
_______________________________________________
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.