• 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: Get ID of items Modified with 1 month
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Get ID of items Modified with 1 month
      • From: Anton Wilson <email@hidden>
References: 
 >Get ID of items Modified with 1 month (From: Daniel <email@hidden>)

  • Prev by Date: Re: Get ID of items Modified with 1 month
  • Next by Date: Re: Moving a message in OS X's Mail.app
  • Previous by thread: Re: Get ID of items Modified with 1 month
  • Next by thread: Re: Get ID of items Modified with 1 month
  • Index(es):
    • Date
    • Thread