getDate(s) now return null instead of undefined.