| Date2ShortMonthYYYY Function |
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 RoutinesImplementation
function Date2ShortMonthYYYY (const DT: TDateTime): string;
var
Year: Integer;
begin
Year := OptDate2Year (DT);
Result := ShortMonthNames [Date2Month (DT)] + ' ' + Int2ZStr (Year, 4);
End; |
|
|