BOM()

Gets the first day in a month.

Syntax

BOM( <dDate> ) --> dBOM

Arguments

<dDate> A valid date.

Returns

<dBOM> The first day in the month.

Description

This function returns the first day of a given month date.
Examples
      ? BOM( DToC( "01/25/2000" ) ) -> "01/01/2000"
      ? BOM( DToC( "02/24/2000" ) ) -> "02/01/2000"
Status

Ready

Compliance

This function is new in Harbour.

Platforms

All

Files

Library is libmisc

See Also