Some basic understanding of how to calculate the length of a

Deals with generic topics such as logging, framework and so on. If you are not sure where to place your topic just put it here.
Post Reply
lvanvyve
Posts: 1
Joined: Tue Feb 19, 2019 9:45 am

Some basic understanding of how to calculate the length of a

Post 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
User avatar
Bernd Welter
Site Admin
Posts: 2574
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Some basic understanding of how to calculate the length

Post 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
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply