• 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: Date trouble
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Date trouble


  • Subject: Re: Date trouble
  • From: Rob Stott <email@hidden>
  • Date: Fri, 20 Oct 2006 13:25:18 +0100


On 20 Oct 2006, at 13:12, W. Thomas Leroux wrote:

What I would like to get is "2006-10-20 08:03:57"

Date trouble... story of my life... *sigh* ;-)

If you're not averse to using a bit of shell scripting then this should do the job for you...

set theDate to do shell script "date \"+%Y-%m-%d %H:%M:%S\""

Hope that helps

Rob



---

Rob Stott
Production Workflow Developer

Watt Gilchrist Ltd
Albion Mills, Albion Road 
Bradford, BD10 9TQ 

http://www.gilchrist.co.uk
Internal extension: 467



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Date trouble
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Date trouble (From: "W. Thomas Leroux" <email@hidden>)

  • Prev by Date: Re: Date trouble
  • Next by Date: RE: Choose File
  • Previous by thread: Re: Date trouble
  • Next by thread: Re: Date trouble
  • Index(es):
    • Date
    • Thread