你将covStartDate.Format (), covEndDate.Format()改为
covStartDate.Format ("%Y-%m-%d %H:%M"), covEndDate.Forma试试怎么样t("%Y-%m-%d %H:%M")怎么样,我这样用是可以的