I am trying to create a ticket number that seems very basic, but part of it is not working well. The ticket structure is simple, the last two digits of the year, the two digit month, two digit day plus a 4 digit number that resets to starting with 1 each day. The first three parts are very straightforward, but I am not able to find a way to reset the four digit number back to 1 at the start of each day. What are your suggestions?
------------------------------
Paul Peterson
------------------------------