added newDate utility function, 0.1.0