Re: Summary: Applescript can't tell time?
Re: Summary: Applescript can't tell time?
- Subject: Re: Summary: Applescript can't tell time?
- From: Andrew Oliver <email@hidden>
- Date: Tue, 03 Feb 2004 16:42:46 -0800
How about:
(current date) - (date "Thursday, January 1, 1970 12:00:00 AM")
--> 1.075826495E+9
Andrew
:)
On 2/3/04 3:58 PM, "Doug McNutt" <email@hidden> wrote:
>
Just to increase the noise. . .
>
>
I would really like to get, from AppleScript, a 32 bit unsigned integer which
>
is the actual seconds count from 0 Jan 1904. In OS neXt I'd settle for the
>
seconds since 0 Jan 1970.
>
>
In good old MPW I can do this:
>
date
>
date -n
>
Tuesday, February 3, 2004 16:57:31
>
3158672251
>
>
How can I get the same in AppleScript? It is, after all, a fundamental item in
>
the Mac OS.
_______________________________________________
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.