Time distance: cast dates to Date object