Re: Rép: date/Snow Leopard changed
Re: Rép: date/Snow Leopard changed
- Subject: Re: Rép: date/Snow Leopard changed
- From: Tim Mansour <email@hidden>
- Date: Thu, 3 Sep 2009 11:22:29 +1000
2009/9/3 Michelle Steiner <email@hidden>:
> 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"
Works fine for that example Michelle, but what about:
set d to (date "31 March 2010")
set month of d to 2
set day of d to 28
There's always an issue with day overflowing in some instance, which
my workaround, um, works around.
--
Tim Mansour <email@hidden>
Mobile 0405 500 846
_______________________________________________
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