Registriert seit: 16. Jan 2004
364 Beiträge
|
Re: Monatskürzel "Jan".."Dec" in 01..12
2. Feb 2004, 16:43
bzw
Delphi-Quellcode:
function monthbystr(s: string): integer;
const
months = ' JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC';
begin
result := Pos(Uppercase(s),months) shr 2;
end;
Power is nothing without TControl
|