On Dec 14, 2005, at 4:58 PM, Bernard Bernu wrote: I'd like to get the last day of the month of a date, say current date.
The following script will need a little tweaking to account for leap year:
set daylist to {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31} set adate to (current date) copy adate to newdate set day of newdate to item (month of newdate as integer) of daylist newdate
-- Michelle
-- We're not human beings having a spiritual experience. We're spiritual beings having a human experience. |