Hi all, we are using the Google Sheets integration to export a list of contacts from HubSpot to Google Sheets via a workflow.
The problem is that the "Create Date" property comes through as a long number, rather than an actual date. Here are some examples of the date property as it comes out of HubSpot:
1620710374103
1611800442730
1616609290112
I am not sure how this translates into an actual date and time, could it be some sort of counter? Either way, is there a way to convert this information into a date within Google Sheets?
For dates in Google Sheets, HubSpot sends unix timestamps in milliseconds. To convert dates from milliseconds, you would create a separate column and add the the following formular:
I'm exporting dates to a word document through Zapier and then into Formstack. Is there a way to set an export format for dates that isn't in milliseconds, since I can't run a formula in my word doc?
Not sure if that's what you're looking for. But Airboxr (my product) syncs with Hubspot to pull data into Google Sheets and standardizes all dates into YYYY-MM-DD format.
Airboxr is slightly different from connectors in that: instead of dumping your data from Hubspot into Google Sheets, you use it to create queries as output (e.g., a pivot table of no. of new contacts added by date). You can save those queries as Hops (sort of like Zaps in Zapier) and retrieve the data from any Google Sheet.
For dates in Google Sheets, HubSpot sends unix timestamps in milliseconds. To convert dates from milliseconds, you would create a separate column and add the the following formular:
Jun 13, 20226:58 AM - edited Jul 19, 20225:59 AM
Participant
Date format when exporting to Google Sheet
SOLVE
Fantastic and very useful. What formula would you use to produce the opposite? So standard date value (e.g., 13/06/2022) into a HubSpot unix timestamp?
Comment edited on 19/07/2022 - the answer is below.