title: What is datetime object in Google API, and how to format its string output?
body: <pre><code> "start": {
  "date": date,
  "dateTime": datetime,
  "timeZone": string
  }...
  </code></pre>
  
  <p>This is from the resource representations of Google Calendar API Events class(?). The <code>dateTime</code> field is supposedly a <code>datetime</code> object. I could not find any resources regarding this class or any of its functions, nor did I find a way to easily format its string output like for <code>Date</code> object.</p>
  
  <p>Thank you!</p>
  
  <p>[EDIT]From <a href="https://stackoverflow.com/questions/11318634/how-to-convert-date-in-rfc-3339-to-the-javascript-date-objectmilliseconds-since">How to convert date in RFC 3339 to the javascript date object(milliseconds since 1970)</a> it looks like DateTime RFC 3339 string can be parsed into a <code>Date</code> object, which should solve the problem.</p>