DateTime dtTarget = DateTime.Now; DateTime FirstDay = dtTarget.AddDays(-DateTime.Now.Day + 1); DateTime LastDay = dtTarget.AddMonths(1).AddDays(-dtTarget.AddMonths(1).Day);
Powered by: 博客园 Copyright © 2024 一佳一 Powered by .NET 9.0 on Kubernetes