• 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: System Date Format-follow-up 2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System Date Format-follow-up 2


  • Subject: Re: System Date Format-follow-up 2
  • From: John Baltutis <email@hidden>
  • Date: Wed, 3 Sep 2003 23:34:18 -0700

On 9/3/03, Paul Berkowitz <email@hidden> wrote:
>
> Does anyone know a shell script for getting the system short date and system
> time formats as set in System Preferences?
>
> There must be a way. There are apps which can access these from the system
> somehow.
>

And then I wrote:

Try these:

set _date to (do shell script "date +%m/%d/%y;:")
set _time to (do shell script "date +%H:%M:%S;:")
{_date, _time}

******************
The .GlobalPreferences.plist file is an invisible file.
_______________________________________________
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: System Date Format-follow-up
  • Next by Date: Re: Weird Finder bug - or not?
  • Previous by thread: Re: System Date Format-follow-up
  • Next by thread: Re: Weird Finder bug - or not?
  • Index(es):
    • Date
    • Thread