MYSQL2DATE Code cleanup