Re: Current date in standard additions dictionary
Re: Current date in standard additions dictionary
- Subject: Re: Current date in standard additions dictionary
- From: Michelle Steiner <email@hidden>
- Date: Sun, 3 Jun 2001 11:55:52 -0700
On 6/3/01 9:07 AM, email@hidden <email@hidden> wrote:
>
I want to get the time only from current date command, without the seconds
>
added. Does anybody know if/how I can do this? Thanks.
This assumes a 12-hour clock.
set x to current date
set y to time string of x
set text item delimiters to {":"}
set z to (text items 1 through 2 of y)
set text item delimiters to {" "}
set z to (item 1 of z & ":" & item 2 of z & " " & last text item of y) as
text
set text item delimiters to {""}
display dialog z
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------