C# 得到一个月的最后一天的日期

DateTime.Now.AddMonths(1).AddDays(-1).ToString("yyyy-MM-dd");

posted @ 2020-04-15 14:23  DerekHan  阅读(1416)  评论(0编辑  收藏  举报