Re: date/Snow Leopard changed
Re: date/Snow Leopard changed
- Subject: Re: date/Snow Leopard changed
- From: Michelle Steiner <email@hidden>
- Date: Sun, 6 Sep 2009 14:08:34 -0700
On Sep 6, 2009, at 10:28 AM, Doug Tallman wrote: Or this:
on newDate(m, d, y) set new_date to date ((m as string) & ¬ "/" & (d as string) & "/" & (y as string)) return new_date end newDate
newDate(12, 25, 1973)
That would depend on the international settings.
If the settings are dd/mm/yy, it will give a wrong result or will cause a runtime error, depending on the values passed.
-- Michelle
-- Reading computer manuals without the hardware is as frustrating as reading sex manuals without the software. -- Clarke's sixth law
|
_______________________________________________
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