When importing notes from Zotero, I am trying to have the properties date field automatically generated. I have added {{date}} to the template properties which is working in all other notes including my Daily Note.
When the same field is added to the Zotero template, it appears to be returning the Unix timestamp i.e. 1646744400000.
Things I have tried
Searched Zotero dates, Zotero properties, formatting date properties, Zotero integration and also templates without joy.
Also tried:
created date: moment().format(L);
as a value in the template, but returns the statement as a string.
Although the property is Created Date, the field for dateModified needs to be used as it is referring back to the Zotero dates. If you use dateAdded, it will return the date the article was added to Zotero. The format command returns the date in the format set in your system. For me in Australia, despite the format showing as YYYY-MM-DD, it returns the date as DD-MM-YYYY.
Happy I now have all my Zotero import properties working as I want them. Problem solved.