好像是这个 DateTime.Now.Day或DateTime.Now.Date试一下吧。不行你就截取字符串啊。
System.DateTime currentTime=new System.DateTime();