Date2ISOInt Function
Returns Date as a Basic Format for ISO Dates: YYYYMMDD where YYYY is year, MM is the Month, DD is Day of Month.

Unit
QESBPCSDateTime

Declaration
Function Date2ISOInt(const DT: TDateTime): LongWord;

Description
Zero Padded.

Parameters
DT Date to process.

Category
Date/Time Conversion Routines

Implementation

function Date2ISOInt (const DT: TDateTime): LongWord;
var
     D, M, Y: Word;
begin
     OptDecodeDateW (DT, Y, M, D);
     Result := Y * 10000 + M * 100 + D;
End;


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