2022年7月19日
摘要: 给定一个特定DateTime值,我如何显示相对时间,例如: 2小时前 3天前 一个月前 学到一个方法,巧妙的对比 public static string RelativeDate(DateTime theDate) { string result = string.Empty; Dictionar 阅读全文
posted @ 2022-07-19 13:14 Yang_zi 阅读(48) 评论(0) 推荐(0)