Re: creation date property of item is r/o !
Re: creation date property of item is r/o !
- Subject: Re: creation date property of item is r/o !
- From: "John C. Welch" <email@hidden>
- Date: Mon, 28 Feb 2005 14:49:56 -0600
On 2/28/05 1:46 PM, "Jeffrey Berman" <email@hidden> wrote:
>
> SetFile -d "02/27/2005 00:01" testfile
>
> sets the creation time of the file "testfile" to 12:01 AM.
That's correct. 00:01 = 12:01 AM
>
> However, the command:
>
> SetFile -d "02/27/2005 12:01 AM" testfile
>
> sets the creation time of the file "testfile" to 12:01 *PM*.
PM and AM are there for your convenience. In 24-hour time, 12:00 to 12:59 is
always PM, and always shall be PM, so that's correct. Since SetFile allows
you to use AM and PM to make 1:01 mean the same thing as 13:01, that's a
bug, not a feature, and I'll probably be reporting it as such. However, at
least when you use 13:01, even with AM, that's read as PM, as is correct.
Mixing 12 and 24 hour time at the CLI level is a bad thing, especially
since, with 24-hour time, there's no ambiguity allowed.
--
"Oh, to be young again. To be sure you know everything, and yet be as
completely stupid as a poorly educated lump of marble.
Yeah. All the people our age spend countless millions to find a way to get
back to being that when a well-placed baseball bat to the skull is so
cheap."
Fred and Faye Macintire, "Something Positive
_______________________________________________
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