• 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: Summary: Applescript can't tell time?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Summary: Applescript can't tell time?


  • Subject: Re: Summary: Applescript can't tell time?
  • From: Malcolm Fitzgerald <email@hidden>
  • Date: Wed, 4 Feb 2004 14:35:48 +1100

At 4:42 PM -0800 3/2/04, Andrew Oliver wrote:
How about:

(current date) - (date "Thursday, January 1, 1970 12:00:00 AM")

--> 1.075826495E+9


It looks like Andrew posted a compiled line of code. Short forms of the date work equally well.

set s to "1/1/1970"
date s --> date "Thursday, 1 January 1970 12:00:00 AM"
set s to "Jan 1 1970"
date s --> date "Thursday, 1 January 1970 12:00:00 AM"


--
Malcolm Fitzgerald
Database Manager
The Australian Society of Authors

Promoting and protecting the
professional interests of
Australia's literary creators.

ph: 02 9318 0877 fx: 02 9318 0530 <http://www.asauthors.org>
PO Box 1566 Strawberry Hills NSW 2016
_______________________________________________
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: Summary: Applescript can't tell time?
      • From: Emmanuel <email@hidden>
References: 
 >Re: Summary: Applescript can't tell time? (From: Andrew Oliver <email@hidden>)

  • Prev by Date: Re: SUMMARY: Applets Won't Run... Is This a Bug or a Feature?
  • Next by Date: Re: scripting excel
  • Previous by thread: Re: Summary: Applescript can't tell time?
  • Next by thread: Re: Summary: Applescript can't tell time?
  • Index(es):
    • Date
    • Thread