dd a Native Function to Calculate Age from Date of Birth

Status: Idea Submitted

Essential Feature Missing – Automatic Age Calculation from Date of Birth

Dear HubSpot Team,

My name is Matej, and I represent Rika Usluge d.o.o.. I would like to request a feature that enables the automatic calculation of a contact’s age based on their Date of Birth field. Currently, there is no native way to achieve this, making basic segmentation and persona creation unnecessarily difficult.

The Issue:

1.No native “Today’s Date” function – HubSpot does not provide a way to dynamically reference the current date in formulas.

2.time_between() limitation – This function returns the difference in days but includes text (e.g., “X days”), making it unusable for further calculations.

3.No ability to extract the “Year” from a date field – If HubSpot allowed extracting just the year, we could subtract it from the current year to determine the age.

Why This is Important:

•Age is a fundamental demographic metric in marketing, essential for segmentation and personalization.

•Other CRMs and marketing platforms provide an easy way to calculate a contact’s age, but in HubSpot, users have to find complex workarounds, use external tools, or manually update data.

•This is a basic need for industries like healthcare, education, insurance, and e-commerce, where age-based targeting is crucial.

Proposed Solution:

•Add a function like today() or current_year() to allow real-time calculations.

•Enable extracting the year from a date field (YEAR([Date of Birth])).

•Modify time_between() so it can return a raw numeric value (e.g., days, months, years) without additional text.

This missing functionality is frustrating for many users, as seen in HubSpot Community discussions. A simple fix would significantly improve user experience and avoid reliance on workarounds.

I kindly ask that you escalate this as a high-priority feature request. I look forward to your feedback.

Best regards,

Matej

Rika Usluge d.o.o.