add a datetime search control