removing dependency on sql generated dates