prune by time