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: Paul Berkowitz <email@hidden>
- Date: Tue, 12 Mar 2002 08:00:01 -0800
On 3/12/02 1:15 AM, "bill" <email@hidden> wrote:
>
You are right, like month number, weekday in number, or format independent
>
from user setting.
>
>
Set timeStamp to do shell script "date +%Y%m%d%H%M%S"
>
-- "20020312165257"
>
>
Which is suitable for rename file.
>
>
Well, let's share what I find, the full description is in this link:
>
>
http://www.tac.eu.org/cgi-bin/man-cgi?strftime+3
Do you know if any of those options you list represent "Date and Time in
the short format set by the user's system preferences". That's the one I
usually need. So that it might look like
"3/12/02 7:58 AM"
on my machine (user, really), but
"12/03/2002 07:58"
on yours, if that's how you are set up?
--
Paul Berkowitz
_______________________________________________
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.