Show Date/Time Fields with time in the UI

Status: Delivered

Status history

Its possible to create date/time fields via the UI, but those fields show up only as date in the UI. You have to click “details” to see the time.

It would be good if all date/time fields showed the time within Hubspot and also when used as email tokens.

Related idea: https://community.hubspot.com/t5/HubSpot-Ideas/Add-Timestamp-as-a-property/idi-p/214294

Edit to the above. In addition to showing the date AND time in the UI, it would also be useful to make them available via tokens in emails.

It would also be nice if the field type on date/time fields accurately showed it was date/time instead of showing date picker.


This is a date/time field, but the field type shows date picker

I’d like to correct a few things that @mrspabs has mentioned here:

  1. It is NOT possible to create date/time properties via the UI. Creating a “date picker” type property via the UI will result in a simple date property. The only way to create a date/time property is by sending a POST request to the “Create contacts property” HubSpot API.
  2. Once you do have a date/time property, yes, it is true that you need to click on “details” in order to view the time associated with the date (just HubSpot things!).

If you’re trying to populate date and date/time properties by using the “Batch create/update contacts” HubSpot API:

  1. To populate a date property for contacts via the HubSpot API, you need to convert the date into date/time first with the time set to midnight UTC otherwise the API will generate an error. Then, this date/time must be converted into a UNIX timestamp before you’re able to pass it on towards HubSpot via their API (in their prescribed JSON format).
  2. To populate a date/time property for contacts (once you’ve managed to create one successfully as described in Point 1 above) via the HubSpot API, the date/time must be converted to a UNIX timestamp before you’re able to pass it on towards HubSpot via their API (in their prescribed JSON format).

Read more on date and datetime properties here.
Hope this helps someone as I wasn’t able to find all of this information on just a single page. And yes, HubSpot needs to find a better way to manage this data type, especially within their UI!

:waving_hand:Hi all, I’m Rachel from the HubSpot Product team. An update - we are now in public beta for ‘Create Datetime properties in HubSpot,’ which allows you to create custom Datetime properties. You can opt into the beta under Product Updates. A few notes:

  • When viewing and editing this property, a user’s current time zone will be used. This is based on the time zone set on their device.
  • When filtering with this property, your account’s time zone will be used by default.
  • Any custom datetime properties that had been created via a Support request / via API will now display Date & Time.
  • ‘Date’ properties whose field type can be edited can now be converted to ‘Date and Time.’
  • Datetime properties will be displayed as Date in the Forms Editor. Datetime properties are not yet supported in the new Forms Editor.

Empty