You could take the current date/time and convert it into a numeric or alphanumeric value.
Dec 14, 2001 at 12:39:58
12/14/2001/12/39/58 or
1214200112393958
It all depends on how often you will be creating a unique value. If you decide to use date/time make sure you consider the regional settings of the web server.
If you use the Date() function it could return
12-14-01 or 12/14/01 or 12/14/2001, etc.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.