how to add datetime object into properties
priamai opened this issue · 1 comments
priamai commented
Hi there,
what is the best way to save a datetime property into a node or an edge?
Cheers.
joowani commented
Hi @priamai,
Sorry for the delay. Typically datetimes are stored as strings in ISO format (e.g. 2021-10-10T19:36:59Z) or as unix timestamps. There are plenty of libraries in Python (including the builtin in datetime) that support conversion from and to both forms.
If you are asking about native support for datetimes from the database itself, I would recommend asking the ArangoDB team directly.