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

  • Prev by Date: Re: How to get frontmost application?
  • Next by Date: Scripting System Preferences in MacOS X
  • Previous by thread: Re: Coercing date to real
  • Next by thread: RE: TIFF vs PIC
  • Index(es):
    • Date
    • Thread