Is the problem solved now with the use of a database?
Type: Posts; User: Norm
Is the problem solved now with the use of a database?
When the program is started, the start date variable is set to the current day.
When a new doc comes in, check if the current date is the same as the start date that was saved when the program was...
What part?
to increment a counter:[code]
counter++; // add 1 to counter[code]
How do you want to detect a new day?
One way would be to save the start day's value in a variable. When adding...
Can you explain what your problem is?
Counting from 1 shouldn't be a problem
Is the problem detecting when a day starts so the program can reset the counter to 1?