Why is the function returning Variant/Empty

In the code below, I want to know why jobTime is and empty value given that the other two variables in the loop have correct values.


image

I would imagine that test and jobTime would be the same value.

The function name was JobTime and that was the issue.