I need to create a log file daily in my working business hours.
Basically I need two things:-
1. How can I create a new log file each day? The log file will be have the name in a format like MMDDYYYY.txt
2. How can I create it just after midnight in case it is running into all hours of the night?