• 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: New Folder with date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New Folder with date


  • Subject: Re: New Folder with date
  • From: Emmanuel <email@hidden>
  • Date: Fri, 6 Apr 2001 02:01:55 +0200

At 16:31 +0200 5/04/01, Stephen Wheeler (Saito) wrote:

> set yy to year of aDate
> set mm to month of aDate
> set dd to day of aDate

>But I want to return the month as a number and not a name.

Try:

copy aDate to b
set the month of b to January
set mm to ("0" & (1 + (aDate - b + 1314864) div 2629728))

HTH
Emmanuel


References: 
 >New Folder with date (From: Stephen Wheeler (Saito) <email@hidden>)

  • Prev by Date: Re: RA-Status work-around
  • Next by Date: Re: Running Things in the Background
  • Previous by thread: New Folder with date
  • Next by thread: Re: New Folder with date
  • Index(es):
    • Date
    • Thread