As English isn't the only language used, I made tests on a system running in French.
"8/9/2007, 17:06"
date result --> date "samedi 8 septembre 2007 00:00:00" WRONG
"8/9/2007 17:18:19"
date result --> date "samedi 8 septembre 2007 17:18:19" OK
"8 septembre 2007 10:11:12"
date result --> date "samedi 8 septembre 2007 10:11:12" OK
"10:11:12 8/9/2007"
date result --> date "mercredi 22 avril 2015 11:11:11" WRONG
"8/9/7 10:11:12"
date result --> date "samedi 8 septembre 7 10:11:12" WRONG
"8/9/07 10:11:12"
date result --> date "samedi 8 septembre 2007 10:11:12" OK
"11/14/2007 10:11:12"
date result --> date "lundi 11 février 2008 10:11:12" Right or Wrong ? matter of point of view
# In fact it accepts month from 1 to 19
try
"12/20/2007 10:11:12"
date result
on error errMsg number errNbr
log "error #" & errNbr & ", " & errMsg --> (*error #-30720, Date et heure invalides date 12/20/2007 10:11:12.*)
end try
"35/10/2007 11:12:13"
date result --> date "dimanche 4 novembre 2007 11:12:13"
"49/10/2007 11:12:13"
date result --> date "dimanche 4 novembre 2007 11:12:13"
# In fact it accepts day from 1 to 49
try
"50/12/2007 10:11:12"
date result
on error errMsg number errNbr
log "error #" & errNbr & ", " & errMsg --> (*error #-30720, Date et heure invalides date 50/12/2007 10:11:12.*)
end try