Fix to date creation code so all the times are 0.000