hidrau
asked on
Working with hours
Hello guys
I am having a problem that must be simple, but I am not being able to solve it.
I have a time in hh:mm:ss:
mTime = '09:30:00'
mMinu = '00:01:25'
I want to increase the Mminu in Mtime so that it can be: Ā '09:31:25'
When I do this, my time is increase and not crease the time :(
Why it is increase my time? What should I do to solve this?
thanks
Alexandre
I am having a problem that must be simple, but I am not being able to solve it.
I have a time in hh:mm:ss:
mTime = '09:30:00'
mMinu = '00:01:25'
I want to increase the Mminu in Mtime so that it can be: Ā '09:31:25'
When I do this, my time is increase and not crease the time :(
var
H : Ttime;
mTime, mMinu : String;
mTime := '09:30:00'
mMinu := '00:01:25'
H := StrToTime(mTime);
H := H + StrToTime(mMinu);
Why it is increase my time? What should I do to solve this?
thanks
Alexandre
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I solved with your example, it was something very simple but I couldn't see it :)
thanks Ferruccio
thanks Ferruccio
Something like
Open in new window