EndOfMonth()
<< Click to Display Table of Contents >> EndOfMonth() |
![]() ![]() ![]() |
Purpose
Returns the last date in a month.
Syntax
EndOfMonth( <dDate> ) dNewDate
Argument
<dDate> is a date value that is used to identify the month and year of the returned date.
Returns
EndOfMonth() returns a date value with the same month and year as dDate but with the day set to the last valid day in the month.