Deal Closed Dates

Anonymous
Not applicable

Can someone from Hubspot please explain as to why the closed_date is the date it closed + the local date of the person closing it?

This makes no sense...

I'm trying to write a public app and make it make sense however because you add the local time of the person who changed the the closed date it causes a bunch of inconsistancies... 

e.g 

"closedate": "2025-03-27T12:42:58.172Z"

 

The date selected in the CRM is 27/03/2025 and I changed it at 11:42pm ( Todays date is (04/04/2025 11:42pm).

The company default time is UTC - 04:00 so why not use that instead of the local time of the person who changed it... Or better yet use an actual date?

How are we supposed to make sense of this date when syncing the CRM data as we don't have the context of who changed it therefore the time of the person submitting is subject to their location....

0 Upvotes
1 Reply 1
Anonymous
Not applicable

this is the offset information from the hubspot API

{
"timeZone": "America/Toronto",
"currency": "USD",
"utcOffset": "-04:00",
"utcOffsetMilliseconds": -14400000
}

0 Upvotes