Search for content

Drivers' Working Hours

This code sample describes how to calculate a route considering working hours regulations. For detailed information see the Drivers' Working Hours concept.

There are three different example presets available. Please note that the route always starts at the current time and the service time at the waypoints is one hour, which cannot be changed:

Work logbook example

The driver has already driven 2 hours and the route takes about 7,5 hours. According to the EU driving time regulation, there is a daily rest besides a break required.

Service time recreation example

The driver has already driven 1 hour and the route takes about 4 hours. According to the EU driving time regulation, there is a break required. The driver can take the break during the service and reaches the destination earlier because no break on the route is required.

Combined transport recreation example

The route takes about 6 hours. According to the EU driving time regulation, there is a break required. Since the route includes a combined transport (ferry or train shuttle), the driver can take the break there and reaches the destination earlier because no break on the route is required.