Re: Date computation
Re: Date computation
- Subject: Re: Date computation
- From: Michelle Steiner <email@hidden>
- Date: Fri, 7 Jan 2005 11:07:45 -0700
On Jan 7, 2005, at 10:52 AM, yvan-koenig wrote:
else
set d to date ("" & (day of d) & "/" & (cMonth + 1) & "/" & (year of
d))
Nice; however, that works for your system, but not for mine.
set d to (current date)
set cmonth to month of d as number
set d to date ("" & (day of d) & "/" & (cmonth + 1) & "/" & (year of d))
--> date "Saturday, July 2, 2005 12:00:00 AM"
I need it this way:
set d to (current date)
set cmonth to month of d as number
set d to date ("" & (cmonth + 1) & "/" & (day of d) & "/" & (year of d))
--> date "Monday, February 7, 2005 12:00:00 AM"
--
Are you better off today than you were on Jan 20th, 2001?
_______________________________________________
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