• 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: Coercing date to real
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • How to get frontmost application?
      • From: Jeff Porten <email@hidden>
  • Prev by Date: RE: Filtering Folders?
  • Next by Date: Re: Size with AS vs Size displayed in Finder: Why different?
  • Previous by thread: Re: Coercing date to real
  • Next by thread: How to get frontmost application?
  • Index(es):
    • Date
    • Thread