Page 1 of 1

Some basic understanding of how to calculate the length of a

Posted: Tue Feb 09, 2021 10:35 am
by lvanvyve
Dear,

I'm currently try to capture the length of a delivery window in PTV Route Optimizer. I would like to make this by creating a new calculated field and this based on the following Key figures.
Software window is ref to create new Calculated field
Software window is ref to create new Calculated field
has someone an idea how to create this calculated field. The result should be a Decimal number.

Example:

ORI Start of Delivery Windows : 09/02/2021 - 06:00
ORI End of Delivery Windows : 09/02/2021 - 08:30

The length of the delivery window is 08:30 - 06:00 = 02:30
Can you please help me providing the code to realize this calculated field ?

Thanks in advance for your help !

Kr,

Louis

Re: Some basic understanding of how to calculate the length

Posted: Tue Feb 09, 2021 10:54 am
by Bernd Welter
Hello Louis,

I forwarded your question to my colleagues in the Benelux. Surprises me that this Route Optimizer question appears in the developer forum ;-) Anyhow: we'll assist!

Best regards from Germany,
Bernd