mm要大寫
yyyy/MM/dd就可以了

解决方案 »

  1.   

    to  orcale(突破菜鳥極限) 
    大写了也不行啊
      

  2.   

    这个问题我前两天也遇到过,我在网上查,都是用format()那种格式,可是我试了,也不好使,不知道为什么,后来只得用了一个笨招.
    <%=str(year(now))+"年"+str(month(now))+"月"+str(day(now))+"日"%>
      

  3.   

    this.ApplyDate_start.Text=string.Format(DSet.Tables[0].Rows[0]["StartTime"].ToString(),"yyyy/mm/dd");
    ---->
    this.ApplyDate_start.Text=DSet.Tables[0].Rows[0]["StartTime"].ToString("yyyy/MM/dd");看看这样可以不?
      

  4.   

    DateTime.Now.ToString("yyyy/MM/dd",System.Globalization.DateTimeFormatInfo.InvariantInfo)
      

  5.   

    web.config
    requestEncoding="gb2312" responseEncoding="gb2312"