Fixing bad loop to clear timeToday variable