Incorrect type not storing the time