# Getting negative timestamp in API Response

**URL:** <https://community.hubspot.com/t/getting-negative-timestamp-in-api-response/11733>\
**Category:** APIs & Integrations\
**Created:** [September 27, 2018, 10:12am UTC](https://community.hubspot.com/t/getting-negative-timestamp-in-api-response/11733 "2018-09-27T10:12:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fivetran](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/fivetran/32/33328_2.png) [@Fivetran](https://community.hubspot.com/u/Fivetran)\
**Post date:** [September 27, 2018, 10:12am UTC](https://community.hubspot.com/t/getting-negative-timestamp-in-api-response/11733/1 "2018-09-27T10:12:44Z")

</div>

We’re getting negative timestamp in the metadata object from engagements API endpoint ([https://api.hubapi.com/engagements/v1/engagements/paged?count=100&limit=250](https://api.hubapi.com/engagements/v1/engagements/paged?count=100&limit=250)).

**What do these negative numbers mean?**

```auto
 "metadata": {
 "startTime": -61566219300000,
 "endTime": -61566213900000,
 "title": "Demo",
 "preMeetingProspectReminders": []
 }

```

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [September 27, 2018, 2:47pm UTC](https://community.hubspot.com/t/getting-negative-timestamp-in-api-response/11733/2 "2018-09-27T14:47:50Z")

</div>

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

As Derek notes in [this topic](https://integrate.hubspot.com/t/question-insert-db-on-hubspot/5937), negative epoch timestamps denote dates before 1970. In milliseconds, `-61566219300000` corresponds with **January 16, 0019 at 7:28 PM** , but in seconds, it matches **January 19, 1968 at 5:16 AM** , which makes much more sense. Make sure that all UNIX timestamps are formatted in milliseconds, per [this documentation](https://developers.hubspot.com/docs/faq/how-should-timestamps-be-formatted-for-hubspots-apis).

That said, which portal are you querying? I see there are several accounts associated with [fivetran.com](http://fivetran.com/).
