Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Date trouble
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Date trouble




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 

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

References: 
 >Date trouble (From: "W. Thomas Leroux" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.