Changed mesurement to Date (instead of DateTime).