AddFortnights Function
Adds a Floating Point amount of Fortnights to a Given Date/Time.

Unit
QESBPCSDateTime

Declaration
Function AddFortnights(const DT: TDateTime; const FNights: Extended): TDateTime;

Parameters
DT Date/Time to process.
Fortnights Number of Fortnights to Add - can be negative.

Category
Date/Time Arithmetic Routines

Implementation

function AddFortnights (const DT: TDateTime; const FNights: Extended): TDateTime;
begin
     Result := AddWeeks (DT, FNights * 2);
End;


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