<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Create Note engagment epoch date incorrect in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Create-Note-engagment-epoch-date-incorrect/m-p/229687#M8583</link>
    <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hubspot.com/u/machinshin"&gt;@machinshin&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;The value you're setting the &lt;CODE&gt;timestamp&lt;/CODE&gt; field to is in seconds, not milliseconds. It should be  &lt;CODE&gt;1523472960000&lt;/CODE&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 22 May 2018 20:29:21 GMT</pubDate>
    <dc:creator>Derek_Gervais</dc:creator>
    <dc:date>2018-05-22T20:29:21Z</dc:date>
    <item>
      <title>Create Note engagment epoch date incorrect</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Create-Note-engagment-epoch-date-incorrect/m-p/229686#M8582</link>
      <description>&lt;P&gt;I am creating a NOTE type engagement via the API, however the created note has a incorrect timestamp, I am using a datetime of 'April 11, 2018' , and the APi returns the correct timestamp back to me, however when looking at the UI, the date-time for the note is Jan 18 at 7:11 AM PST&lt;/P&gt;
&lt;P&gt;as you can see here:&lt;BR /&gt;
          &lt;A href="https://dl.dropboxusercontent.com/s/calgpymttjxzxoh/Screenshot%202018-05-21%2011.42.07.png?dl=0" target="_blank" rel="nofollow noopener"&gt;
            &lt;IMG src="https://dl.dropboxusercontent.com/s/calgpymttjxzxoh/Screenshot%202018-05-21%2011.42.07.png?dl=0" width="690" height="478" /&gt;
          &lt;/A&gt;
&lt;/P&gt;
&lt;P&gt;here is the api response&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="lang-auto"&gt;hubspot created engagement response : {
  "engagement": {
    "id": 953286053,
    "portalId": **REDACTED**,
    "active": true,
    "createdAt": 1526927325032,
    "lastUpdated": 1526927325032,
    "createdBy": 5714578,
    "modifiedBy": 5714578,
    "ownerId": 1,
    "type": "NOTE",
    "timestamp": 1523472960
  },
  "associations": {
    "contactIds": [],
    "companyIds": [],
    "dealIds": [
      293347343
    ],
    "ownerIds": [],
    "workflowIds": [],
    "ticketIds": [],
    "contentIds": []
  },
  "metadata": {
    "body": "TASK NAME: multi-perpetual meeting\nTASK DESCRIPTION: multi-perpetual meeting\nWednesday, April 11, 2018 10:56 AM\nDemo U.,Vat R.\nhttps://stg.izi.ai/completed/2578\n"
  }
}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 May 2018 18:45:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Create-Note-engagment-epoch-date-incorrect/m-p/229686#M8582</guid>
      <dc:creator>machinshin</dc:creator>
      <dc:date>2018-05-21T18:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create Note engagment epoch date incorrect</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Create-Note-engagment-epoch-date-incorrect/m-p/229687#M8583</link>
      <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hubspot.com/u/machinshin"&gt;@machinshin&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;The value you're setting the &lt;CODE&gt;timestamp&lt;/CODE&gt; field to is in seconds, not milliseconds. It should be  &lt;CODE&gt;1523472960000&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 20:29:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Create-Note-engagment-epoch-date-incorrect/m-p/229687#M8583</guid>
      <dc:creator>Derek_Gervais</dc:creator>
      <dc:date>2018-05-22T20:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Create Note engagment epoch date incorrect</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Create-Note-engagment-epoch-date-incorrect/m-p/229688#M8584</link>
      <description>&lt;P&gt;Thank you Derek, I obviously missed that!&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 20:36:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Create-Note-engagment-epoch-date-incorrect/m-p/229688#M8584</guid>
      <dc:creator>machinshin</dc:creator>
      <dc:date>2018-05-22T20:36:33Z</dc:date>
    </item>
  </channel>
</rss>

