Le 6 sept. 2009 à 16:40:00, Deivy Petrescu a écrit :
On 06/09/2009, at 10:11 , Michelle Steiner wrote:
On Sep 6, 2009, at 3:04 AM, Yvan KOENIG wrote:
So, it appears that English systems are able to decipher a date using the format dd/mm/yyyy
Nope, it doesn't, not American English systems; don't know about British English systems, though.
date "31/12/09"
Will not compile; the error dialog says Syntax Error Invalid date and time date 31/12/09.
-- Michelle
-- "Growth for the sake of growth is the ideology of the cancer cell."
I used the following script:
<script> set a to "12/31/2009" set b to "31/12/2009" try {date a, date b} on error e if a is in e then display dialog a & " is not a valid date." giving up after 3 else display dialog b & " is not a valid date." giving up after 3 end if end try
</script>
In System preferences I set date to the US format (12/31/2009) run the script got an error with 31/12/200 is not a valid date. In System preferences set my date format to "Custom". Run the script again and got 12/31/2009 is not a valid date.
Thanks. So, now I have:
one user (luKreme) writing that it's system set to mm/dd/yyyy is able to decipher dd/mm/yyyy and two user s(Michelle and Deivy) writing that it's system set to mm/dd/yyyy is unable to decipher dd/mm/yyyy
It continue to be surprising !
Yvan KOENIG (VALLAURIS, France) dimanche 6 septembre 2009 16:48:55
|