eom()

Examples


The eom() function returns the date of the last day of the month for a specified date. For instance, if the date 07/21/94 is passed to the eom() function, it will return the date 07/31/94, the last day of the month for July. If the date is in a leap year, the last date in February will be adjusted accordingly.

Syntax

eom(date)

Parameters

date – A date or datetime value.

Return value

Date


Documentation Feedback