I am storing dateBirth
as milliseconds in neo4j.
When using the browser I get this:
match (u:User) return u.dateBirth // Returns -2209078800000
When using the bolt driver (neo4j v3-javascript) I get this:
match (u:User) return toInt(u.dateBirth) as dateBirth
// Returns: Integer { low: -1465609856, high: -515 }
How do I convert this Integer Object to a primitive number in JavaScript?