Sign in Join
FPDoc Onlineexperiment

DayOf function

In unit DateUtils

Extract the day (of month) part from a TDateTime value.

Declaration

pascal
function DayOf(const AValue: TDateTime): Word

Arguments

AValue

Date to extract day of.

Function result

Day of month part of AValue.

Description

DayOf returns the day of the month part of the AValue date/time indication. It is a number between 1 and 31.

For an example, see YearOf

See also

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