Added sql datetime part expression in filter.