Change time parameter to timestamp.