Re: date/Snow Leopard changed
Re: date/Snow Leopard changed
- Subject: Re: date/Snow Leopard changed
- From: Yvan KOENIG <email@hidden>
- Date: Sun, 6 Sep 2009 19:34:23 +0200
Le 6 sept. 2009 à 19:28:21, Doug Tallman a écrit : 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)
Which valid only for systems using mm/dd/yyyy date format.
If the system uses dd/mm/yyyy date format it must be edited as:
on newDate( d, m, y)
set new_date to date ((m as string) & ¬ "/" & (d as string) & "/" & (y as string)) return new_date end newDate
newDate(12, 25, 1973)
Yvan KOENIG (VALLAURIS, France) dimanche 6 septembre 2009 19:34:16
|
_______________________________________________
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