Forum Discussion
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
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
Related Content
Recent Discussions
- 48 minutes agodipsthorat
- 4 hours agoisbiat
- 2 days agoarmygrad