Hi, why does new Date.getTime() say undefied is not a function?