I’m using the mongolian deadbeef client for node.js
I have a document like this:
{
"time": 1308651397345,
"_id": {
"$oid": "4e006f853d93e4676e00000a"
}
}
But when I access it with the mongolian deadbeef client, I see:
{
time: { low_: -1313627935, high_: 304 },
_id: 4e006f853d93e4676e00000a
}
How do I access the correct time?
Thanks
Try
time.toNumber(), what you see is a 64 bit long being split into two 32 bits ints.