如题

解决方案 »

  1.   

    DateTime.Now.ToString("ddd",new System.Globalization.CultureInfo("zh-cn"));
      

  2.   

    时间:DateTime.Now.ToLongTimeString();
    星期: DateTime.Now..DayOfWeek;
      

  3.   

    System.DateTime times = new System.DateTime();
            Label2.Text = times.ToString("y");
            Label3.Text = times.ToString("m");
    我是这样的但是显示的日期时间不对啊
      显示的着这样的0001年1月 1月1日
      

  4.   

    DateTime.DayOfWeek; // 星期
      

  5.   

    不是没有人,估计是都没看懂你在说什么DateTime now = DateTime.Now;
    Label1.Text = now.ToShortDateString();   //日期
    //Label1.Text = now.ToString("yyyy年M月d日");   //日期
    Label2.Text = now.ToShortTimeString();    //时间
    Label3.Text = now.ToString("dddd");  //星期
      

  6.   

    获得当前时间很容易,label.Text = DateTime.Now.ToLongTimeString();请问怎么让它成为时时显示更新的呀?