When creating a new deal using the api, eventhough a correct date is sent, the deal is created with a wrong date.
I am passing this : 1578441600
but the deal closed date is set to January 22, 1970
any ideas?
When creating a new deal using the api, eventhough a correct date is sent, the deal is created with a wrong date.
I am passing this : 1578441600
but the deal closed date is set to January 22, 1970
any ideas?
Welcome, @mgivi.
Apologies for the delayed response.
You are passing a timestamp formatted in seconds, but HubSpot’s APIs use timestamps formatted in milliseconds.
Try sending 1578441600000 (8 January 2020 at 12:00 AM).