Re: Coercing date to real
Re: Coercing date to real
- Subject: Re: Coercing date to real
- From: Michelle Steiner <email@hidden>
- Date: Fri, 8 Feb 2002 06:25:57 -0700
On 2/8/02 2:07 AM, David Lloyd <email@hidden> wrote:
>
I can coerce a date to a number on my machine
>
(with no "naughty oxen installed) thus:
>
>
set startDate to date "Friday, 01 January 1904 12:00:00 am"
>
set currentDate to (current date)
>
set dateAsReal to currentDate - startDate
At least three of us (counting you) have come up with that idea.
--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.