Table of Content
HAL Forum
function longint MonthDiff (
date DateStart,date DateEnd)
Description:
Returns the difference between two date values in months
Parameters:
DateStart First (smaller) date in the comparsion
DateEnd Second (bigger) date in the comparsion
external function LongInt MonthDiff(Date,Date);

global
procedure OnApplicationStartup() 
begin
  
  stopalert(MonthDiff("01.01.2010","04.03.2011"));

  return;
end;

Related topics:
««