Re: Date-Time Formatting
Re: Date-Time Formatting
- Subject: Re: Date-Time Formatting
- From: Andrew Oliver <email@hidden>
- Date: Thu, 26 May 2005 11:19:17 -0700
On 5/26/05 10:35 AM, "Jake Pietrykowski" <email@hidden> wrote:
> On 5/26/05 12:27 PM, "Andrew Oliver" wrote:
>
>> On 5/26/05 10:17 AM, "Jack Stewart" wrote:
>>
>>> I want to use Applescript to write a date. Does anyone know what I need to
>>> do
>>> to alter the returned value from (current date) so that it will give me a
>>> mm/dd/yyyy date format plus the time-of-day? if I do "(current date) as
>>> text",
>>> I get the long format with day-of-week spelled out, etc.
>>
>>
>> How about:
>>
>> short date string of (current date) & space & time string of (current date)
>>
>> Andrew
>
> Or...
>
> set AppleScript's text item delimiters to " "
> text item 1 of (short date string of (current date) & space & time string of
> (current date))
>
> returns the exact format desired.
Not on my machine it doesn't.
Leaving aside the restoration of TIDs for now, this script returns something
that looks remarkably identical to what I get if I run 'short date string of
(current date)'...
Andrew
:)
_______________________________________________
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