Date2Day Function
Returns the Day of the Month number from a given date/time.

Unit
QESBPCSDateTime

Declaration
Function Date2Day(const DT: TDateTime): Word;

Parameters
DT Date/Time to Convert.

Returns
the Day of the Month.

Category
Date/Time Conversion Routines

Implementation

function Date2Day (const DT: TDateTime): Word;
var
     M, Y: Word;
begin
     OptDecodeDateW (DT, Y, M, Result);
End;


HTML generated by Time2HELP
http://www.time2help.com