FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Compare Two dates
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Compare Two dates
Posted: Thu Apr 09, 2020 12:00 PM

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?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Re: Compare Two dates
Posted: Thu Apr 09, 2020 12:14 PM
If dtos(oApp():datainiziale)=dtos(ddcheck_in) .and. dtos(oApp():datafinale) = dtos(ddcheck_out)
lDaily=.t.
Endif
Marco Boschi
info@marcoboschi.it
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Compare Two dates
Posted: Thu Apr 09, 2020 10:30 PM

Wich Is changed Marco

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion