Page 1 of 1

Compare Two dates

Posted: Thu Apr 09, 2020 12:00 pm
by Silvio.Falconi
I have Two dates as strings (on a array)
Ddcheck_in and ddcheck_out
And Two dates on variables
oApp(): datainiziale
oApp():datafinale
I made

If dtos(oApp() datainiziale)=dtos(ddcheck_in) .and. dtos(oApp():datafinale) = dtos(ddcheck_out)
lDaily=.t.
Endif

Why not run ok?

Re: Compare Two dates

Posted: Thu Apr 09, 2020 12:14 pm
by MarcoBoschi
If dtos(oApp():datainiziale)=dtos(ddcheck_in) .and. dtos(oApp():datafinale) = dtos(ddcheck_out)
lDaily=.t.
Endif

Re: Compare Two dates

Posted: Thu Apr 09, 2020 10:30 pm
by Silvio.Falconi
Wich Is changed Marco