# BOY()

Gets the first date of the year.

Syntax

  BOY( <dDate> ) --> dBOY

Arguments

  <dDate> A valid date.

Returns

  <dBOY> The first day in the year.

Description

  This function returns the first date of a given year date.

Examples

          ? BOY( DToC( "01/25/2000" ) ) -> "01/01/2000"
          ? BOY( DToC( "02/24/2001" ) ) -> "01/01/2001"

Status

  Ready

Compliance

  This function is new in Harbour.

Platforms

  All

Files

  Library is libmisc

See Also

- EOY()