Skip to content
Blog

Date operators

Kuzu supports the following operators to work with date and interval values:

OperatorDescriptionExampleResult
+addition of INT64DATE('2022-11-12') + 52022-11-17
+addition of INTERVALDATE('2021-10-12') + INTERVAL('3 DAYS')2021-10-15
-subtraction of INT64DATE('2022-11-12') - DATE('2022-11-11')1
-subtraction of INTERVALDATE('2023-10-11') - INTERVAL('10 DAYS')2023-10-01