Expand my Community achievements bar.

How to auto populate a unique number in sequence.

Avatar

Former Community Member

I have a problem with writing a code to auto populate a unique number in sequence. The code that I wrote it populates a unique number but not in sequence. Can someone help me. example it populated number 1360606751723 when i opened the file next time it populated 1360606782552. Also, I want the number to be 4 digits and start at 8000.  Thank you.

initialize Java Script

var cDate = new Date();

this.rawValue = cDate.getTime();

0 Replies