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

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]


  • Follow-Ups:
    • Re: date format
      • From: Andy Wylie <email@hidden>
    • Re: date format
      • From: Paul Berkowitz <email@hidden>
    • Re: date format
      • From: email@hidden
  • Prev by Date: Way to edit Outlook preferences without launching Outlook?
  • Next by Date: Re: Way to edit Outlook preferences without launching Outlook?
  • Previous by thread: Re: date format
  • Next by thread: Re: date format
  • Index(es):
    • Date
    • Thread