We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
It was mentioned in the question that the value needs to be a length of 13 characters with numbers and solution is provided accordingly.
It always generates unique( and is the main criteria) value of length 13. So you won't need to add +1 (as that is not the main criteria).
You would have come to know that if tried ( that's what I said in last message)
Wrote a script(you can run it online) which does the testing of 1000 sample values and value is of 13 digit length
https://ideone.com/SHakVe
Since all the values passes the test, scripts ends with Success (without any assertion error).
I'm an idiot - sorry - I saw the word 'time' in the code snippet and thought - "that's not what I need!"
Apologies - I've been doing 20hours days since Wednesday and I'm making stupid mistakes
Kudos awarded :), with some extra assigned too for your patience! :)
Cheers,
richie