we use for calculation of vacation days a table with formulas to calculate days left and so on for our employes.
What i face was a calculation irritation because i used for the form for input the from and to fields as calendar picker "days".
I realized, this turns out as wrong calculations and found out the reason is the time format that was used for rukovoditel_days_difference and got wrong results like 20 instead of 19 days left for example.
Now i changed the from and to field to the calendar picker with date and time.
But this means someone who is adding a new record has to choose time with hours and minutes additional to the date, this is what i want to avoid.
Is there a way to receive the correct result with a modification of my formula?
Code: Select all
sum(rukovoditel_days_diff(field_1575,field_1576,'1,7,8','',''))