QT: How do I subtract clocktimes?
William de Smet
williamdesmet at gmail.com
Thu Sep 20 13:16:09 EDT 2007
Hi there all,
I am subtracting some numbers and that is working ok with the following code:
put value (field "xt" - field "y") into fld "z"
What If I want to use clock times like: 07.30 (seven thirty in the morning) ?
When I subract '16.00 - 07.30' I get '8.7' and I want it to be '08.30'
So now Rev sees these numbers as decimal numbers.
What code need I put in there to make it work?
greetings,
William de Smet
More information about the use-livecode
mailing list