• 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: Andy Wylie <email@hidden>
  • Date: Tue, 27 Nov 2001 17:49:25 +1300

on 27/11/01 2:19 PM, Landis at email@hidden wrote:
> I need:
>
> "9/3/2001"

--Emmanuel's 'french vanilla'
set {d, y} to (current date)'s {day, year}
copy (current date) to b
set month of b to January
set m to (1 + ((current date) - b + 1314864) div 2629728)
set y to text -1 thru -2 of ("" & y)
"" & {d, "/", m, "/", y}
-- "27/11/01"

--Akua Sweets OSAX
the clock using form "%d/%m/%y"
-- "27/11/01"

_____________________________ Andy


References: 
 >date format (From: Landis <email@hidden>)

  • Prev by Date: Re: Way to adjust Outlook Express Preferences?
  • Next by Date: AS 1.6 timeout bug?
  • Previous by thread: date format
  • Next by thread: Re: date format
  • Index(es):
    • Date
    • Thread