separate old stuff from read, implement between_datetime