• 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: Subtract 1 month from date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subtract 1 month from date


  • Subject: Re: Subtract 1 month from date
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 8 Dec 2004 16:54:09 -0700

On Dec 8, 2004, at 4:37 PM, Eric Geoffroy wrote:

I can say "d + 4 * weeks"
but it won't allow "d + 1 * months

Because a month can have 31, 30, 29, or 28 days.

and won't allow d - 1 * weeks

It works on my machine.

Output should look like this.

11/1/2004...12/1/2004

In Panther, you can do it this way: set d to (current date) short date string of d

--> "12/8/04"
(note; this depends on the date format set in the International preferences panel)


-- Michelle

--
"The right to be heard does not automatically include the right to be taken seriously." -- Hubert H. Humphrey


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Subtract 1 month from date (From: Eric Geoffroy <email@hidden>)

  • Prev by Date: Subtract 1 month from date
  • Next by Date: Re: Applescript-users Digest, Vol 1, Issue 239
  • Previous by thread: Subtract 1 month from date
  • Next by thread: Re: Subtract 1 month from date
  • Index(es):
    • Date
    • Thread