• 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: last day of the month of a date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: last day of the month of a date


  • Subject: Re: last day of the month of a date
  • From: "Mark J. Reed" <email@hidden>
  • Date: Thu, 15 Dec 2005 11:37:41 -0500

On 12/14/05, deivy petrescu <email@hidden> wrote:
>
> On Dec 14, 2005, at 21:59, Mark J. Reed wrote:
>
> > Adding 31 doesn't necessarily get you next month;
>
>
> It does if you are on the first day of the month.
> The first thing  the OP does is to put the date on the first day of
> the current month.

D'oh!   Missed that.  Sorry.

> you just pointed out something very interesting:
>
> <script>
> set l to February + 1
> --> error: Can't make February 1 into type reference.
> </script>



> but
>
> <script>
> set j to (February) + 1
> --> 3
> </script>

Also interesting: Script Editor on Panther compiles the + right out of
the parenthesisless version, while Tiger's Script Editor put the
parentheses in for me automatically.

--
Mark J. Reed <email@hidden>
 _______________________________________________
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: 
 >last day of the month of a date (From: Bernard Bernu <email@hidden>)
 >Re: last day of the month of a date (From: deivy petrescu <email@hidden>)
 >Re: last day of the month of a date (From: deivy petrescu <email@hidden>)
 >Re: last day of the month of a date (From: "Mark J. Reed" <email@hidden>)
 >Re: last day of the month of a date (From: deivy petrescu <email@hidden>)

  • Prev by Date: Re: last day of the month of a date
  • Next by Date: Best practices for creating and comparing lists of text?
  • Previous by thread: Re: last day of the month of a date
  • Next by thread: Re: last day of the month of a date
  • Index(es):
    • Date
    • Thread