Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have an application where I calculate the interval between 2 timestamps.
The interval values can vary from a couple of minutes to a couple of days.
In my script I Have the following:
Interval(TimeStamp(JOB_END_DATE, 'DD-MM-YYY hh:mm:ss') - ApplyMap('Map.Melding.Moment_verstuurd', JOB_NR, '-'),'mm') as TestInterval
With this I have the amount of minutes. However, I need to calculate with that number, so how can i convert it to a number for calculating the average for example?
I've tried to use the Minute and Hour method. But this doesn't give the correct value.
How about using something like this: num(timestamp#()).
NUM(YourExpressionShowingMin)
(JOB_END_DATE-ApplyMap('Map.Melding.Moment_verstuurd',JOB_NR, '-'))*1440
why without the interval method?
Because it's the shortest expression I can think of to calculate a number representing the Humber of minutes within an Interval.
Can you provide sample data and expected results to compare the solution ?
Thanks
Regards
Marco
Please mark as answered if there are no further questions.
Thanks
Regards
Marco