Fixed the weird date thing. Forgot it had to be an associative array.