# Create Note engagment epoch date incorrect

**URL:** <https://community.hubspot.com/t/create-note-engagment-epoch-date-incorrect/11758>\
**Category:** APIs & Integrations\
**Created:** [May 21, 2018, 6:45pm UTC](https://community.hubspot.com/t/create-note-engagment-epoch-date-incorrect/11758 "2018-05-21T18:45:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [May 21, 2018, 6:45pm UTC](https://community.hubspot.com/t/create-note-engagment-epoch-date-incorrect/11758/1 "2018-05-21T18:45:15Z")

</div>

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

as you can see here:  
[  
   
 ](https://dl.dropboxusercontent.com/s/calgpymttjxzxoh/Screenshot%202018-05-21%2011.42.07.png?dl=0)

here is the api response

```auto
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"
 }
}

```

---

<div class="post-metadata">

**Author:** ![Derek\_Gervais](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/derek_gervais/32/17429_2.png) [@Derek\_Gervais](https://community.hubspot.com/u/Derek_Gervais)\
**Post date:** [May 22, 2018, 8:29pm UTC](https://community.hubspot.com/t/create-note-engagment-epoch-date-incorrect/11758/2 "2018-05-22T20:29:21Z")

</div>

Hi [@machinshin](https://community.hubspot.com/u/machinshin),

The value you’re setting the `timestamp` field to is in seconds, not milliseconds. It should be `1523472960000`.

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [May 22, 2018, 8:36pm UTC](https://community.hubspot.com/t/create-note-engagment-epoch-date-incorrect/11758/3 "2018-05-22T20:36:33Z")

</div>

Thank you Derek, I obviously missed that!
