• 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: Do shell script "date" vs current date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do shell script "date" vs current date


  • Subject: Re: Do shell script "date" vs current date
  • From: bill <email@hidden>
  • Date: Wed, 13 Mar 2002 12:35:11 +0800

> Do you know if any of those options you list represent "Date and Time in
>the short format set by the user's system preferences". That's the one I
>usually need. So that it might look like
>
> "3/12/02 7:58 AM"
>
>on my machine (user, really), but
>
> "12/03/2002 07:58"
>
>on yours, if that's how you are set up?

Paul,

My set up for short date is day/month/year, showing leading zero for day,
showing leading zero for month, showing century, with separator "/".

I'm also new to unix, my observation is that all these options are not
affected by the user setting.

do shell script "date +D%" --"03/13/02", or
do shell script "date +%x" --"03/13/02"

Both options simply ignore my short date setting.


Bye
Bill :(
_______________________________________________
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.

  • Prev by Date: Re: A Difference of Months
  • Next by Date: Re: form validation [off]
  • Previous by thread: Re: Do shell script "date" vs current date
  • Next by thread: sending mail from an applescript
  • Index(es):
    • Date
    • Thread