I have two Hour and I need the difference in minutes
sample :
access 10:45
exit 12:33
I tried with
But sometimes give me a negative value
sample :
access 10:45
exit 12:33
I tried with
nTimeFrom := Val(Left(cTimeStart,2)+Right(cTimeStart,2))
nTimeTo := Val(Left(cTimeEnd,2)+Right(cTimeEnd,2))
nMinutes1 := TimeToSec(cTimeStart)
nMinutes2 := TimeToSec(cTimeEnd)
nMinutes := (nMinutes2-nMinutes1)But sometimes give me a negative value
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
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
