DateCalc

DateCalc

Postby Silvio.Falconi » Sat May 18, 2019 4: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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6834
Joined: Thu Oct 18, 2012 7:17 pm

Re: DateCalc

Postby Enrico Maria Giordano » Sat May 18, 2019 5:05 pm

The built-in minus operator:

? dDate2 - dDate1

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8356
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: DateCalc

Postby Silvio.Falconi » Sun May 19, 2019 8:07 am

I tried not run
give me error because at init dstart is

Image

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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6834
Joined: Thu Oct 18, 2012 7:17 pm

Re: DateCalc

Postby ukoenig » Sun May 19, 2019 5:55 pm

Silvio,

have a look at Your post.

viewtopic.php?f=3&t=37188&p=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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 37 guests