Thanks for your code suggestions!
The code is not calling time in the loop, only formatting time value from the database.
Unfortunately, I have to use
/approv/i because it has to match approv in the string when the string could be anything.
Is
$localtime = $moduleField[2] ? FormatTime($moduleField[2]) : "n/a"; more efficient than my two lines of code?
I don't think changing $_ is dangerous. The perdoc does it a lot.
For some reason, I was thinking
=~ would change the value of
$headers[$dataCount].
Thanks for that code, I bet its faster than changing the value of $_.