updated accept expression so it uses DateTime component