How to insert Date to ArangoDB?
Is it inserting as text or as Date object?
As text, because ArangoDB only supports JSON data types. JSON doesn't have a Date type, so dates are usually encoded as strings. How you actually do that is up to you, but since you're using D, I suggest you use Date.toISOExtString
. For a few other options, see this question.