string s = "20160822 9:56";
            string dt = DateTime.ParseExact(s, "yyyyMMdd H:mm", null).ToString("yyyy-MM-dd H:mm");
            Response.Write(dt);

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
  • 2021-07-09
  • 2021-10-27
  • 2022-02-08
猜你喜欢
  • 2022-02-11
  • 2022-12-23
  • 2021-11-27
  • 2021-11-27
  • 2021-12-07
相关资源
相似解决方案