Set correct date