fish: readtime function