jojovalenton
11th October 2009, 08:07
Dear Experts,
I just want to ask how compute between to time? for example tssma301.dtm2=2100 and tssma301.dtm1=2030. if I used normal substraction this will result to 70 instead of 30 minutes only. Thank you very much and I appreciate any help you will give.
JOJO
george7a
11th October 2009, 13:32
Hi,
This issue has been discussed in the following link:
http://www.baanboard.com/baanboard/showthread.php?p=151373
I hope it helps,
- George
jojovalenton
12th October 2009, 07:57
Dear George,
Thank you very much for the link you sent, this will be a big help.
JOJO
seoclick
12th October 2009, 08:33
Dear Experts,
I just want to ask how compute between to time? for example tssma301.dtm2=2100 and tssma301.dtm1=2030. if I used normal substraction this will result to 70 instead of 30 minutes only. Thank you very much and I appreciate any help you will give.
JOJO
Hiii JOJO,
U can use time.num() for your help.
Syntax
long time.num()
Description
This returns the current time as the number of seconds since 00:00.
Return value
The current time as the number of seconds since 00:00.
Regards,
Seoclick