Code: Select all
Let>test=0:17:53+0:17:53
mdl>%test%
Moderators: Dorian (MJT support), JRL
Code: Select all
Let>test=0:17:53+0:17:53
mdl>%test%
Code: Select all
Let>time1=0:17:53
Let>time2=1:17:53
TimeDiff>00:00:00,time1,S,secondsTime1
TimeDiff>00:00:00,time2,S,secondsTime2
TimeAdd>00:00:00,S,{%secondsTime1%+%secondsTime2%},newTime
MessageModal>newTime
Code: Select all
VBSTART
Function AddTimes(stime1,stime2)
AddTimes = FormatDateTime(TimeValue(stime1)+TimeValue(stime2),3)
End Function
VBEND
VBEval>AddTimes("0:17:53","1:17:53"),newTime
MessageModal>newTime