方法1:代码控制
string condition = this.dtPlanDateStart.Value.ToString("yyyy-MM-dd"));
方法2:设置控件的属性
1.CustomFormat: yyyy-MM-dd
2.Format: Custom