79617572

Date: 2025-05-12 09:48:19
Score: 1.5
Natty:
Report link

Try duration.inSeconds and mintues component.

MATCH (x:Test)  
RETURN duration.inSeconds(x.datetime1,x.datetime2).minutes

Here are the Component groups

Component Group Component
inMonths years, quarters, months
inDays weeks, days
inSeconds hours, minutes, seconds, milliseconds, microseconds, nanoseconds

For more reference check
https://neo4j.com/docs/cypher-manual/current/values-and-types/temporal/#cypher-temporal-accessing-components-durations

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pandiyarajan A