Hi everybody, I post a new post after extensive research done with the help of Jaanus wich allowed us to identifiy the problem but not to found the solution (http://fabrikar.com/forums/index.php?threads/how-to-calculate-a-duration.33989/page-2)
I created an element "duree" wich must calculate the difference between 2 times (element heure_debut and element heure_fin).
The result is ok in the list. For example, if the "heure_debut" is 08h10 and "heure_fin" is 09h11" the element "duree" displays 01h01. (= 01:01:00 without TIME_FORMAT).
The result must be saved into the database. But in this one, the field "duree" displays 00:00:01.
If the difference = 02:33:00 in the database the field displays 00:00:02.
As if only the hour is saved.
Who can help me, please ? I need it to make after a sum.
Thanks a lot !
I created an element "duree" wich must calculate the difference between 2 times (element heure_debut and element heure_fin).
The result is ok in the list. For example, if the "heure_debut" is 08h10 and "heure_fin" is 09h11" the element "duree" displays 01h01. (= 01:01:00 without TIME_FORMAT).
The result must be saved into the database. But in this one, the field "duree" displays 00:00:01.
If the difference = 02:33:00 in the database the field displays 00:00:02.
As if only the hour is saved.
Who can help me, please ? I need it to make after a sum.
Thanks a lot !