Speedy Gonzalez
Member
Hi,
I would like to create a unique number as follows:
the date today is 24-08-05 en there are 5 messages sent to our system.
For each of the messages are unique numbers available from which one can get the date out:
example:
050824-001
050824-002
050824-003
050824-004
050824-005
Tomorrow there will be 2 messages:
050825-001
050825-002
So the numbers after the date must increment and after each day, the date must be changed to the appropriate date.
How to code this?
I would like to create a unique number as follows:
the date today is 24-08-05 en there are 5 messages sent to our system.
For each of the messages are unique numbers available from which one can get the date out:
example:
050824-001
050824-002
050824-003
050824-004
050824-005
Tomorrow there will be 2 messages:
050825-001
050825-002
So the numbers after the date must increment and after each day, the date must be changed to the appropriate date.
How to code this?