Re: Do shell script "date" vs current date
Re: Do shell script "date" vs current date
- Subject: Re: Do shell script "date" vs current date
- From: John W Baxter <email@hidden>
- Date: Mon, 11 Mar 2002 08:23:27 -0800
At 8:38 -0700 3/11/2002, garbanzito wrote:
>
however even just the shell's date command has some options
>
that might be hard to reproduce with current date.
For instance,
do shell script "date +%Y-%m-%d"
--> "2002-03-11"
is an easier way to get that result than many we've discussed here. (Once
one knows about the magic %Y %m and %d formatters and their many friends.
The + says...what follows is a format string...I'm not trying to set the
date.)
--John
--
John Baxter email@hidden Port Ludlow, WA, USA
_______________________________________________
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.