filter raw data to a specific datetime.