DateTime dt=DateTime.Now ;
string s;
s="今天是:"+dt.Year.ToString () +"年"+dt.Month.ToString () +"月"+dt.Day.ToString () +"日 ";
switch(dt.DayOfWeek.ToString ())
{
case "Monday":s=s+"星期一";
break;
case "Tuesday":s=s+"星期二";
break;
case "Wednesday":s=s+"星期三";
break;
case "Thursday":s=s+"星期四";
break;
case "Friday":s=s+"星期五";
break;
case "Saturday":s=s+"星期六";
break;
case "Sunday":s=s+"星期天";
break;
}
lbldate.Text =s;