working bydate family of functions, need to deprecate indexby family
fixed bydate and tests passing
removed indexdate and tests
cleanup of read_time