格式化日期的输出

常用方法:

  

拓展应用:

  使用 -gt 比较DateTime对象

  

原文地址:https://www.cnblogs.com/feiyucha/p/10029034.html