getDate() function not working anymore?

Do you still get errors?