Re: Convert long number to string
Re: Convert long number to string
- Subject: Re: Convert long number to string
- From: Gnarlodious <email@hidden>
- Date: Sat, 17 Apr 2004 21:13:11 -0600
Entity Graff spoke thus:
>
set realNumber to do shell script "echo `date +%s` - `date +%s` %
>
604800 | bc"
>
>
Basically it gets the date in seconds from the epoch twice and puts the
>
values in an echo statement which passes a string to the shell tool bc.
>
The tool bc, which is a calculation tool,
Great! Now I know what Martin was talking about when he mentioned "bc".
I actually found it here:
(copy and paste URI)
<file://localhost/127.0.0.1/Library/Documentation/Commands/dc/dc_toc.html>
Thanks for the help.
-- Gnarlie
_______________________________________________
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.