Re: Shell script date & time coercions...
Re: Shell script date & time coercions...
- Subject: Re: Shell script date & time coercions...
- From: has <email@hidden>
- Date: Tue, 2 Apr 2002 13:35:27 +0100
Mr Tea wrote:
>
This from Matthew Stuckwisch - dated 30/3/02 05.56 pm:
>
>
> set monthNum to do shell script "date +%m"
>
>
As others have already observed, 'Woo hoo!'
No biggie. There's been one or two osax implementations around for a while
- I think the Format Date OSAX is the most complete of them, though it's
limited to OS8/9.
Plus some kindy fellow wrote an AS library-based version some time ago
that'll run on most anything:
http://www.barple.connectfree.co.uk/strftimeLib.hqx
Not sure how the library/osax methods compare for speed to the shell
script, but will hopefully find out sometime this week when I finally
succumb to the dreaded OS X disease...
has
--
http://www.barple.connectfree.co.uk/ -- The Little Page of Beta AppleScripts
_______________________________________________
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.