• 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: Some date math
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some date math


  • Subject: Re: Some date math
  • From: Duncan Cowan <email@hidden>
  • Date: Tue, 25 Feb 2003 11:47:06 +1100

This works for me

set x to (current date)
set y to day of x
set y to y + 1
set day of x to y
return x

cheers

Duncan

From: email@hidden (Michael Slomski)
Date: Tue, 25 Feb 2003 01:33:04 +0100
To: "List: Applescript" <email@hidden>
Subject: Some date math


Hello everybody,

Does anyone know how to get the date of yesterday.
3get current date2 will get the current day. Fine.
3get current date - 1 displays also the current date. So what can I do?



Regards
Michael Slomski

-------------------------------------------------------------------
Computerkartographie M. Slomski
Kartographie Systemberatung & Betreuung
f|r Apple Macintosh


Schnorr-von-Carolsfeld-Str. 19
D-81927 M|nchen

Tel.: ++49 +89-929 40 57 oder ++49 +177-44 57 990
Fax.: ++49 +89-939 311 71
Email: email@hidden
_______________________________________________
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.
_______________________________________________
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.

References: 
 >Some date math (From: email@hidden (Michael Slomski))

  • Prev by Date: Re: Scripting Mail:get selection
  • Next by Date: Re: Scripting Mail:get selection
  • Previous by thread: Some date math
  • Next by thread: Re: Some date math
  • Index(es):
    • Date
    • Thread