Hi Roger!
I have found a wrong return value in Function DC_TimeToSec() in _dccalen.prg
was: wrong!
RETURN (nHours * 60 * 24) + (nMinutes * 60) + nSeconds
is: right!
RETURN (nHours * 60 * 60) + (nMinutes * 60) + nSeconds
please edit for the future !
Wrong Return Value in DC_TimeToSec
Wrong Return Value in DC_TimeToSec
best regards
Hans
Hans
Re: Wrong Return Value in DC_TimeToSec
Wow! I guess nobody ever used that function.
It was probably written 0ver 25 years ago.
Thanks.
It was probably written 0ver 25 years ago.
Thanks.
The eXpress train is coming - and it has more cars.
Re: Wrong Return Value in DC_TimeToSec
I always used the regular timetosec() from xbtools
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises