if (/*iTotal == 250*/true)
                {
                    string strFileName = "";
                    strFileName=DateTime.Today.ToString("yyyy-mm-dd")+".txt";
                    if (File.Exists(strFileName))
                    {
                        strFileName = DateTime.Today.ToString("yyyy-mm-dd") + "_2.txt";
                    }
                    string strNewPa = @"C:\ylcs\" + strFileName;
                    StreamWriter sw = new StreamWriter(strNewPa,true);
                    sw.Write(strSpool);
                    sw.Close();
                }这是代码,不知道哪里有错误,最后的文件名的月份不是10,而是00
请各位前辈帮忙