CE-311 changing dates functions