计算当月最多天数

 Day(DateSerial(Year(a), Month(a) + 1, 0))

原文地址:https://www.cnblogs.com/lidapengwww/p/12626526.html