It is simple enough to get timestamp:
new Date().getTime();
but I need to limit the timestamp to 8 characters, and these need to be the last 8 rather than the first 8.
for example:
new Date().getTime(); // returns: 1234567891234
I need it to return:
67891234
can you help?
Thanks in advance
1 Answer