• 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: Simple date question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple date question


  • Subject: Re: Simple date question
  • From: Michelle Steiner <email@hidden>
  • Date: Tue, 15 Mar 2005 14:50:12 -0700

On Mar 15, 2005, at 11:40 AM, Bernardo Hoehl wrote:

How do I get the last day of the current month?

Example: february 2005 = 28 or March =31

Here is a step-by-step method; it can be condensed, of course.

set foo to current date
set day of foo to 32
set day of foo to 1
set foo to foo - 1 * days
return day of foo

--
Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming, "WOW! What a ride!!!"


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Simple date question (From: Bernardo Hoehl <email@hidden>)

  • Prev by Date: Re: Address Book Scripts
  • Next by Date: Re: Address Book Scripts
  • Previous by thread: Re: Simple date question
  • Next by thread: Re: Simple date question
  • Index(es):
    • Date
    • Thread