• 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: "Arthur J Knapp" <email@hidden>
  • Date: Fri, 06 Apr 2001 18:27:21 -0400

> Date: Fri, 6 Apr 2001 04:32:14 +0200
> From: Sander Tekelenburg <email@hidden>
> Subject: Re: New Folder with date

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

> Shamelessly copied from <http://homepage.mac.com/dlivesay/aclafaq.html>:

Wow, what a great faq!!! :)


> set theDate to the current date
> copy theDate to b
> set the month of b to January
> set monthNum to (1 + (theDate - b + 1314864) div 2629728)
>
> There's something clever going on there, but my math sucks. So hopefully
> someone else can explain this little gem.

You mean that do don't automatically recognize the number of seconds in
one twelfth of a solar year??? What planet are you from???


;-)


<http://listserv.dartmouth.edu/scripts/wa.exe?A2=ind0002&L=macscrpt&P=R8277&;
D=1&H=0&O=D&T=1>



Arthur J. Knapp
http://www.stellarvisions.com
mailto:email@hidden

Hey, check out:
http://www.mainevent.com


  • Prev by Date: Re: tab delimeted log file
  • Next by Date: Re: GTQScriptingLibrary1.2 --image sort
  • Previous by thread: Re: New Folder with date
  • Next by thread: global declarations for many variables: is there a better way?
  • Index(es):
    • Date
    • Thread