Advertisement
2002ASP Math/ Dates #13

EndOfMonth

Last day of the month Calculates the last day of the month. "Jim Doherty"

AI

AI 摘要: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

源代码
original-source
Function EndOfMonth (D As Variant) As Variant
 EndOfMonth = DateSerial(Year(D), Month(D) + 1, 0)
End Function
原始评论 (3)
从 Wayback Machine 恢复