The 'hour' parameter (undef) to DateTime::new was an 'undef'
It's telling you that $time[0] is undef.
That would happen if $dtA[3]'s value contained neither ":" nor ".".
Make sure $dtA[3] contains what you think it does.
I can't replicate the problem with what you gave me, even after fixing Avg_Time_Taken_Per_Transaction.
Update: Added last paragraph.
In reply to Re: date problem
by ikegami
in thread date problem
by namishtiwari
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |