ajak timer

 DateTime dt_Sports = Convert.ToDateTime("2012 - 12 - 21");
        lblDate.Text = dt_Sports.Subtract(DateTime.Now).ToString();
        string[] dd = lblDate.Text.Split('.');
        lblDate.Text = "距离<b>北京奥运会开幕</b>还有 : " + dd[0] + " 天 " + dd[1] + " 分 ";

你可能感兴趣的:(ajak timer)