Le 8 sept. 2009 à 16:03:10, Deivy Marck Petrescu a écrit :
Even if ISO Time is available, we will continue, for years, to receive dates in different local formats.
No we wouldn't...
set adate to text returned of (display dialog "Enter date:") set adate to adate as isotime ....
Are you saying that if I receive a document containing the date 12/31/1943 on my French system, parsing it with isotime will return 1943/12/31 ?
At this time the function is unavailable in AppleScript so, I can't test.
If it's true it's fine.
If itsn't, for the problem which I described it's useless.
Most of those writing the documents which I receive aren't using AppleScript. They send documents which are made with Word, Excel, Pages, Numbers … Some banks continue to use FORTRAN programs ;-) So I will continue to receive dates using the local date used by the documents authors. Let me add that at this time without a bit of trickery by the user, Applme's Numbers is unable to deal with the yyyy/mm/dd format (same thing if you try alternate separators).
Yvan KOENIG (VALLAURIS, France) mardi 8 septembre 2009 17:28:20
|