title: Transform datetime in YYYY-MM-DD HH:MM[:SS[.SSSSSS]]
body: <p>I'm receiving this error:</p>
  
  <pre><code>Could not parse 'event_date' as a timestamp. Required format is YYYY-MM-DD HH:MM[:SS[.SSSSSS]]
  </code></pre>
  
  <p>from BigQuery when I'm trying to insert a row.</p>
  
  <p>This is my code:</p>
  
  <pre><code>bigquery_client = bigquery.Client.from_service_account_json(CREDENTIALS_BIGQUERY, 'roas-164016')
  dataset = bigquery_client.dataset(BQ_LOGS_DATASET_NAME)
  table = dataset.table(BQ_EMAIL_SENDS_TABLE_NAME)
  
  data = {}
  now = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
  data['send_id'] = 'test'
  data['uid'] = 'test'
  data['account_id'] = 'test'
  data['subaccount_id'] = 'test'
  data['event_id'] = 'test'
  data['event_date'] = now
  data['html_content'] = 'test'
  data['campaign_name'] = 'test'
  data['subject'] = 'test'
  data['send_type'] = 'test'
  
  json_data = json.dumps(data)
  
  data =  json.loads(json_data)
  table.reload()
  
  rows = [data]
  errors = table.insert_data(rows)
  </code></pre>
  
  <p>How can I fix the date formatting?</p>