Neo4j cypher: set cutofftime (datetime) property of a node

Viewed 448

Need to set the datetime property of a node. Need to create a node Work:

CREATE (w:Work {type: "tech", mode: "E", cut_off_time: "12:10:00"})

There is a way in which I can define the hours, minutes and year as different properties:

{hours: 12, minutes: 10, seconds: 00},

but how can I set it as a single property. How can I define it as a datetime object in neo4j, or is it just considered as a string.

1 Answers
Related