• 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: Simple Date-Time Format Question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple Date-Time Format Question...


  • Subject: Re: Simple Date-Time Format Question...
  • From: revDAVE <email@hidden>
  • Date: Wed, 25 Apr 2007 08:11:38 -0700
  • Thread-topic: Simple Date-Time Format Question...

Thanks so much for your help and interesting, helpful details Philip and
kai,

This is good fun - I have never really used shell scripts before - is there
a URL I can read some information about them?

I tried to  to get the year first but also wanted only 2 digit year - not a
4 digit year for my particular use... Like: "07-04-25 12-11-10 PM"

Q: Is there a way to get only a two digit year verses 4 digit year?

set theTest to do shell script "date +'%Y-%m-%d %I-%M-%S %p'" <-- 4 digits


Q: does %F - stand for full date?

do shell script "date +'%F %H-%M-%S'"


--
Thanks - RevDave
email@hidden
[db-lists]



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Simple Date-Time Format Question...
      • From: Philip Aker <email@hidden>
    • Re: Simple Date-Time Format Question...
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Re: Simple Date-Time Format Question... (From: Philip Aker <email@hidden>)

  • Prev by Date: File Properties Question
  • Next by Date: Re: File Properties Question
  • Previous by thread: Re: Simple Date-Time Format Question...
  • Next by thread: Re: Simple Date-Time Format Question...
  • Index(es):
    • Date
    • Thread