• 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: Date-Time Formatting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Date-Time Formatting
      • From: Michelle Steiner <email@hidden>
    • Re: Date-Time Formatting
      • From: Jack Stewart <email@hidden>
    • Re: Date-Time Formatting
      • From: Andrew Oliver <email@hidden>
References: 
 >Re: Date-Time Formatting (From: Andrew Oliver <email@hidden>)

  • Prev by Date: Re: Date-Time Formatting
  • Next by Date: FileMaker/Address Book Synchronization...
  • Previous by thread: Re: Date-Time Formatting
  • Next by thread: Re: Date-Time Formatting
  • Index(es):
    • Date
    • Thread