getDate on classes