FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour DateCalc
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
DateCalc
Posted: Sat May 18, 2019 04:55 PM

SomeOne can publish a easy function to show number of days beetwen two dates . thanks

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: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: DateCalc
Posted: Sat May 18, 2019 05:05 PM

The built-in minus operator:

? dDate2 - dDate1

EMG

Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: DateCalc
Posted: Sun May 19, 2019 08:07 AM
I tried not run
give me error because at init dstart is



So, I must converte this string into a date value

How I can make ?
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: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: DateCalc
Posted: Sun May 19, 2019 05:55 PM

Silvio,

have a look at Your post.

viewtopic.php?f=3t=37188p=222001#p222001

regards
Uwe :D

&&

Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.

Continue the discussion