>>>
? ldDate1 - ldDate2
>>>
>>>
>>>>
>>>> Could you tell how to calculate the number of day between two date?
>>>>
>>shouldn't it be
>>
>>? ldDate2 - ldDate1
>>
>>
>><s>
>>
>Peter,
>
>If you want to get negative number, sure. <eg>
lddate1=DATE()-100 && some time in the past
lddate2=DATE() && todate
?lddate1-lddate2
-100
?lddate2-lddate1
100 <---- that the correct answer usually date1 is earlier in history that date2
<s>
Peter
Peter Cortiel