• 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: creation date property of item is r/o !
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: creation date property of item is r/o ! (From: Jeffrey Berman <email@hidden>)

  • Prev by Date: Re: Called script won't store property
  • Next by Date: Re: Called script won't store property
  • Previous by thread: Re: creation date property of item is r/o !
  • Next by thread: Text View -- NSReceiverEvaluatorScriptError: 4(1)
  • Index(es):
    • Date
    • Thread