switch from date(DATE_ATOM) to time() for timestamps