Unable to use datediff function in Apache OpenOffice Calc
5,038
DATEDIFF seems to be OpenOffice Base/SQL function, not Calc function. It can be used in Calc as Basic macro custom function.
Related videos on Youtube
Author by
Peter Mortensen
Updated on September 18, 2022Comments
-
Peter Mortensen over 1 year
I am unable to get a result by using the command
=DATEDIFF('dd', '2007-08-01', '2007-09-01')
in Apache OpenOffice Calc.Even using two columns of dates and using the formula
=DATEDIFF('dd','A2','B2')
, I am unable to find the difference between dates.How can I fix this?
-
PleaseStand almost 12 yearsI think there should be double quotes around the dates in your example.
-
cyberha4 almost 12 years@PleaseStand: thank you for the hint, you were right.
-
fixer1234 almost 8 yearsCan you expand your answer a little to explain how this works? Thanks.