Re: Summary: Applescript can't tell time?
Re: Summary: Applescript can't tell time?
- Subject: Re: Summary: Applescript can't tell time?
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 03 Feb 2004 16:37:46 -0800
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.
(current date) - (date "1/1/1904")
--> 3.158671014E+9
--
Paul Berkowitz
_______________________________________________
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.