Here is a simple way to get the last day of the month we are in, in C#.
DateTime.DaysInMonth(DateTime.UtcNow.Year, DateTime.UtcNow.Month);
Technology, Music, & Culture Blog
Here is a simple way to get the last day of the month we are in, in C#.
DateTime.DaysInMonth(DateTime.UtcNow.Year, DateTime.UtcNow.Month);
0 comments:
Post a Comment