Set date to model