Sign in Join
FPDoc Onlineexperiment

IsSameMonth function

In unit DateUtils

Check if 2 dates are in the same month.

Declaration

pascal
function IsSameMonth(const Avalue: TDateTime; const ABasis: TDateTime)
: Boolean

Description

IsSameMonth will return True if the two dates Avalue and ABasis occur in the same year and month. (i.e. if their month and year parts match). Otherwise, False is returned.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.