Date2ShortMonthYYYY Function
Returns the Short Month Description for the supplied Date followed by a space then the year.

Unit
QESBPCSDateTime

Declaration
Function Date2ShortMonthYYYY(const DT: TDateTime): string;

Description
Relies on Regional Settings.

Parameters
DT Date/Time to convert.

Returns
the Short Month Name of the Month component.

Category
Date/Time Conversion Routines
Month Based Arithmetic Routines

Implementation

function Date2ShortMonthYYYY (const DT: TDateTime): string;
var
     Year: Integer;
begin
     Year := OptDate2Year (DT);
     Result := ShortMonthNames [Date2Month (DT)] + ' ' + Int2ZStr (Year, 4);
End;


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