Re: find yesterday date using date command
Re: find yesterday date using date command
- Subject: Re: find yesterday date using date command
- From: KOENIG Yvan <email@hidden>
- Date: Mon, 1 Jan 2007 19:43:46 +0100
Le 1 janv. 07 à 19:14:13, Hung Phan a écrit :
Hello, all
I try to write a backup script that which move older files into the
previous date folder. Search throughout Google for a way to get
yesterday date using "date" command, no luck. Can someone help me
with this please?
You may try:
set curDate to current date
set time of curDate to 0
set yesterdays to curDate - (1 * days)
replacing 1 by a different number give the ability to move back of
several days.
Yvan KOENIG _______________________________________________
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