Re: Date-Time Formatting
Re: Date-Time Formatting
- Subject: Re: Date-Time Formatting
- From: Jake Pietrykowski <email@hidden>
- Date: Thu, 26 May 2005 12:35:38 -0500
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.
Jake
_______________________________________________
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