Please enable JavaScript to view this site.

Altova MapForce 2020 Professional Edition

Result is the duration obtained by subtracting datetime2 (second argument) from datetime1 (first argument). The result can be mapped to a string, or duration, datatype.


Note that the arrivaldatetime has been connected to datetime1 and departuredatetime to datetime2.


E.g. We want to find the difference, as a duration, between the departure and arrival times.

datetime1 arrivaldatetime="2001-12-17T19:30:02+05:00"

datetime2 departuredatetime="2001-12-17T09:30:02+05:00"


Result: the difference between the two is 10 hours:

result= PT10H

© 2020 Altova GmbH