Hello,
I have to agree with Miguel, at least on my Snow Leopard system. Calculations with months (or years) don't work as they do with days and weeks:
set myDate to the current date set newDate to myDate + (371 * days) log newDate set newDate to myDate + (53 * weeks) log newDate set newDate to myDate + (12 * months) log newDate set newDate to myDate + (1 * year) log newDate
works for days and weeks, but not for months (actually already indicated by the colouring) and year (years is not a recognised term). So I suppose it's some sort of bug in the date calculation part of AppleScript.
Best Thomas
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
|