Re: date format
Re: date format
- Subject: Re: date format
- From: "Marc K. Myers" <email@hidden>
- Date: Tue, 27 Nov 2001 11:12:04 -0500
- Organization: [very little]
>
Date: Tue, 27 Nov 2001 17:49:25 +1300
>
Subject: Re: date format
>
From: Andy Wylie <email@hidden>
>
To: <email@hidden>
>
>
on 27/11/01 2:19 PM, Landis at email@hidden wrote:
>
> I need:
>
>
>
> "9/3/2001"
[Snip!]
>
--Akua Sweets OSAX
>
the clock using form "%d/%m/%y"
>
-- "27/11/01"
Unfortunately, Akua Sweets would give you "09/03/01", which wouldn't
match "9/3/2001" on a string comparison. I don't know FMP, so I don't
know if that would work. You can extract the date elements without the
leading zeros (and with the century) using Akua Sweets with this rather
clumsy construction:
set theDate to "" & ((the clock using form "%m") as number) & "/" & [optn-L]
((the clock using form "%d") as number) & "/" & (the clock using
form "%c%y")
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[11/27/01 11:09:34 AM]