Rewrite using Date.