ArangoDB, How I can save a date?

How I get a Date in my ArangoDB-Database?

sav.current_date = `DATE_ISO8601(DATE_NOW())`
err := db.Col(mycollection).Save(&sav)

In my document is a String.

{
  "currant_date": " DATE_ISO8601(DATE_NOW()) ",
}

The DATE_ISO.... is a function from database just like NOW() from MySQL databse.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.