C#实现的根据年月日计算星期几的函数
string CaculateWeekDay(int y,int m, int d)
CaculateWeekDay
{
string weekstr="";
DateTime theDate = new DateTime(y,m,d);
weekstr=theDate.DayOfWeek;
return weekstr;
}
string CaculateWeekDay(int y,int m, int d)
CaculateWeekDay
{
string weekstr="";
DateTime theDate = new DateTime(y,m,d);
weekstr=theDate.DayOfWeek;
return weekstr;
}