Changing "time" column parameters from datetime to timestamp