Re: Get ID of items Modified with 1 month
Re: Get ID of items Modified with 1 month
- Subject: Re: Get ID of items Modified with 1 month
- From: Michelle Steiner <email@hidden>
- Date: Mon, 17 Mar 2003 17:39:10 -0700
On Monday, March 17, 2003, at 04:39 PM, Daniel wrote:
get id of every item of the entire contents of folder "untitled" whose
modification date is less than date -1
This doesn't stop the script, but it doesn't return any result
date -1 returns one second earlier than when the script is run. Try
date - 30 * days minutes, hours, days, and weeks are defined
constants. Unfortunately, months is not because the number of seconds
in a month varies, depending upon which month it is. So, if you don't
have to be exact for one month, 30 days may be a reasonable substitute.
--Michelle
--
Give Peace A Chance.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.