• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Shell script date & time coercions...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Shell script date & time coercions...
      • From: Mr Tea <email@hidden>
  • Prev by Date: Re: get image size (W x H)--thanks
  • Next by Date: Re: Random Numbers fasters than the osax
  • Previous by thread: Help with Java application
  • Next by thread: Re: Shell script date & time coercions...
  • Index(es):
    • Date
    • Thread