| Date2ShortMonthYY Function |
Unit
QESBPCSDateTime
Declaration
Function Date2ShortMonthYY(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 Date2ShortMonthYY (const DT: TDateTime): string;
var
Year: Integer;
begin
Year := OptDate2Year (DT);
Result := ShortMonthNames [Date2Month (DT)] + ' ' + Int2ZStr (Year mod 100, 2);
End; |
|
|