Page 1 of 1
An interesting utility
Posted: Thu Mar 02, 2023 10:56 am
by brunellopulix
Hi everyone
try it and if you find errors publish
Gui Mode

- IMG4.png (78.15 KiB) Viewed 166570 times
Console Mode

- IMG1.png (151.03 KiB) Viewed 166570 times

- IMG2.png (109.97 KiB) Viewed 166570 times
Report

- IMG3.png (57.06 KiB) Viewed 166570 times
Brunello
Re: An interesting utility
Posted: Thu Mar 02, 2023 11:29 am
by Rathinagiri
Really very interesting and useful also!
Re: An interesting utility
Posted: Fri Mar 03, 2023 7:50 am
by serge_girard
Thanks brunellopulix !
I will test soon.
Serge
Re: An interesting utility
Posted: Sat Mar 04, 2023 5:04 pm
by brunellopulix
Found a bug in ElapsedDays.prg to delete:
If Left(Dtoc(d1),2) == [31]
d1--
Endif
Brunello
Re: An interesting utility
Posted: Sat Mar 04, 2023 5:15 pm
by serge_girard
Would also be usefull to call it as a function with 2 dates and returning elapsed years, month, days...!
I will test next week.
Serge
Re: An interesting utility
Posted: Fri Mar 17, 2023 9:16 am
by brunellopulix
Hi
i found another bug.
February is a very complicated month and I am not giving up.
I corrected and updated the algorithm.
These tests seem fair to me.

- Nuova immagine.jpg (270.8 KiB) Viewed 166069 times
Brunello Pulix
Re: An interesting utility
Posted: Fri Mar 17, 2023 5:07 pm
by serge_girard
Thanks Brunello !
Re: An interesting utility
Posted: Sat Mar 25, 2023 7:31 am
by brunellopulix
Final update
-no bugs
-No error
-tests more complicated leap years and not all OK
- 100% reliable
if you have downloaded the previous ones I suggest you delete them to avoid getting confused
Brunello
Re: An interesting utility
Posted: Sun Mar 26, 2023 8:22 pm
by serge_girard
thanks !