• 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: "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.

  • Follow-Ups:
    • Re: Coercing date to real
      • From: paulskinner <email@hidden>
  • Prev by Date: Re: UniqueID
  • Next by Date: Re: UniqueID
  • Previous by thread: RE: Coercing date to real
  • Next by thread: Re: Coercing date to real
  • Index(es):
    • Date
    • Thread