AM,
Two things after a glace at your code;
if ( $hrmin eq '1114' ) {
You may want to buffer the end of the day, which may give you a more accurate end-of-day and start-of-day.
Good Luck!
"Well done is better than well said." - Benjamin Franklin
In reply to Re: Close a file and reopen a new one at midnight
by flexvault
in thread Close a file and reopen a new one at midnight
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |