EOM()

Gets the last day in a month.

Syntax

EOM( <dDate> ) --> dEOM

Arguments

<dDate> A valid date.

Returns

<dEOM> The last day in the month.

Description

This function returns the last day of a given month date.
Examples
      ? EOM( DToC( "01/01/2000" ) ) -> "01/31/2000"
      ? EOM( DToC( "02/01/2000" ) ) -> "01/29/2000"
Status

Ready

Compliance

This function is new in Harbour.

Platforms

All

Files

Library is libmisc

See Also