• 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: find yesterday date using date command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: find yesterday date using date command


  • Subject: Re: find yesterday date using date command
  • From: kai <email@hidden>
  • Date: Mon, 1 Jan 2007 19:37:22 +0000


On 1 Jan 2007, at 19:17, Michelle Steiner wrote:

On Jan 1, 2007, at 12:06 PM, kai wrote:

If you want to ensure that "yesterday" means the start of yesterday (rather than exactly 24 hours ago), then you might consider something like:

-------------------

tell (current date) to set yesterday to it - days - time

Alternatively,

date (date string of ((current date) - days))

True, Michelle - although the former is generally faster (by more than 2.5 times here).


---
kai


_______________________________________________ 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/mailman//archives/applescript-users

This email sent to email@hidden
References: 
 >find yesterday date using date command (From: Hung Phan <email@hidden>)
 >Re: find yesterday date using date command (From: kai <email@hidden>)
 >Re: find yesterday date using date command (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: find yesterday date using date command
  • Next by Date: Re: find yesterday date using date command
  • Previous by thread: Re: find yesterday date using date command
  • Next by thread: Re: find yesterday date using date command
  • Index(es):
    • Date
    • Thread