Incorrect use of the time struct.
Uninitialized variable.