Re: Simple date question
Re: Simple date question
- Subject: Re: Simple date question
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 15 Mar 2005 11:01:51 -0800
On 3/15/05 10:40 AM, "Bernardo Hoehl" <email@hidden> wrote:
> This is a simpe one:
>
> How do I get the last day of the current month?
>
> Example: february 2005 = 28 or March =31
set theDate to (current date)
set day of theDate to 1
set theDate to theDate + (31 * days)
set day of theDate to 1
set theDate to theDate - (1 * days)
set d to day of theDate
--
Paul Berkowitz
_______________________________________________
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