Re: Rép: date/Snow Leopard changed
Re: Rép: date/Snow Leopard changed
- Subject: Re: Rép: date/Snow Leopard changed
- From: LuKreme <email@hidden>
- Date: Wed, 2 Sep 2009 22:50:29 -0600
On Sep 2, 2009, at 18:57, Michelle Steiner <email@hidden>
wrote:
Why not
set d to (date "Sunday, February 28, 2010 12:00:00 AM")
set month of d to 7
set day of d to 31
d
--> date "Saturday 31 July 2010 12:00:00 am"
Because if the curent date is July 31 and you change the month to feb,
you end up with march.
You have to change to a 31 day month, then set your date, then set
your month.
_______________________________________________
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/archives/applescript-users
This email sent to email@hidden