Can Anki have notes with duplicate IDs which are timestamps?

Dear Anki Community,

Thank you very much for the project.

May anyone tell if Anki can create a note with an ID which already exists?
For example,

Best and kind regards

I believe there’s a duplicate check before a note is created, and if the note already exists it will choose note_id + 1 instead.


Perhaps, but I haven’t found that in sources, yet. The main reason, I don’t know where to search. Where is the new note creation process located in the sources?

I think the relevant part is this: