Re: Summary: Applescript can't tell time?
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.