mfoster711
13 years agoRegular Contributor
Duration in total seconds
I want to compare a time interval and have it tell me the total number of seconds. Here is my current test code:
Begin = aqDateTime.Time
EndTime = aqdatetime.AddSeconds(Begin, 90)
Duration = aqdatetime.TimeInterval(Begin, EndTime)
Duration2 = aqConvert.TimeIntervalToStr(Duration)
Duration will have a value of 12:01:30 AM
Duration2 is 0:00:01:30
I want it to return a value of 90 seconds. How?
Begin = aqDateTime.Time
EndTime = aqdatetime.AddSeconds(Begin, 90)
Duration = aqdatetime.TimeInterval(Begin, EndTime)
Duration2 = aqConvert.TimeIntervalToStr(Duration)
Duration will have a value of 12:01:30 AM
Duration2 is 0:00:01:30
I want it to return a value of 90 seconds. How?