EndOfMonth()

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

EndOfMonth()

Previous pageReturn to chapter overviewNext page

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.