switched to dates instead of timestamps

as suggested by @mrreynolds