Hi Stephane:
In this post https://forum.getodk.org/t/pull-datatime-from-csv-works-on-enketo-but-not-on-odk-collect/37215/3?u=mauricio_andres_arci you can see a function for calculating the difference between times that provides the same results in Enketo and in ODK Collect.
Mauricio