EOY()

Gets the last date of the year.

Syntax

EOY( <dDate> ) --> dEOY

Arguments

<dDate> A valid date.

Returns

<dEOY> The last date of the year.

Description

This function returns the last date of a given year date.
Examples
      ? EOY( DToC( "01/01/2000" ) ) -> "31/12/2000"
      ? EOY( DToC( "01/01/2001" ) ) -> "31/12/2001"
Status

Ready

Compliance

This function is new in Harbour.

Platforms

All

Files

Library is libmisc

See Also