Re: Coercing date to real
Re: Coercing date to real
- Subject: Re: Coercing date to real
- From: email@hidden
- Date: Thu, 7 Feb 2002 15:40:12 EST
Errr... My bad (didn't realize you needed Jon's commands to get ticks -- I
just remember using it in other programming languages and when I tried it in
AppleScript, it worked -- sorry Jon, no slight intended).
From the AppleScript Language Guide.pdf, page 62 - 64:
COERCIONS SUPPORTED:
AppleScript supports coercion of a Date value to a single-item list or a
string.
=-= Marc
In a message dated 2/7/02 12:00:03 PM,
email@hidden writes:
>
On 2/6/02 11:15 PM, "email@hidden" <email@hidden> wrote:
>
>
>> Can't make date "Tuesday, April 4, 1995 11:06:00 PM" into a real.
>
> try pulling the date as the ticks (the number of seconds):
>
>
>
> set UniqueID to the ticks of checkID as real
>
>
>
You really should mention that you need to have Jon's Commands to have
>
'the
>
ticks'.
_______________________________________________
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.