Remove redundant setDate.