... I must filter the Reserva.dbf local cTipoElemento:="01" local nElemento:= 5 local dDataIniziale:= ctod("04/07/2021") local dDataFinale:= ctod("08/07/2021") and I made this command oReservations:Exec( < || SET FILTER TO AllTrim( ...
... not for a a range date I made a test #include "Fivewin.ch"request dbfcdxrequest dbffptFunction test()*local ddcheckin := ctod("31/07/2020")*local ddcheckout := ctod("31/07/2020")local ddcheckin := ctod("02/07/2020")local ...
I have 4 date ranges (periods) I have two dates and I want to calculate the number of days for each period. local dcheck_in: = ctod ("17/05/2020") local dCheck_out: = ctod ("17/06/2020") if I do the operation dCheck_out-dcheck_in i get 31 days in the calculation function ...