Re: Coercing date to real
Re: Coercing date to real
- Subject: Re: Coercing date to real
- From: "Marc K. Myers" <email@hidden>
- Date: Thu, 07 Feb 2002 12:41:09 -0500
- Organization: [very little]
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
"the ticks" measures the amount of time that's passed since the machine
was turned on. As such they can't be used to represent a date. This is
the easiest way I know to get the current date as a real: (current date)
- (get date 0).
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[2/7/02 12:37:14 PM]
_______________________________________________
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.