Calculated date using a number field

Huntscape-Ops
Colaborador

Using a calculated field, is it possible to have a date field + number field = date field?

Invoice send date + Term Length (number field) = Invoice due date

 

add_time([properties.invoice_send_date], [properties.term_length], 'day') is giving me a huge number and not a date

0 Me gusta
1 Soluciones aceptada
karstenkoehler
Solución
Miembro del salón de la fama | Partner
Miembro del salón de la fama | Partner

@Huntscape-Ops please see my previous note on the output type, this needs to be set as date. You have it set as number.

 

The formula is as simple as:

 

date property + number property

 

(Keeping in mind that you need to multiply the number property with whatever the equivalent of milliseconds to your time unit is.)

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.

Ver la solución en mensaje original publicado

0 Me gusta
3 Respuestas 3
Huntscape-Ops
Colaborador

This is what I have and am running into the issue of no date coming out

 

HuntscapeOps_0-1758732333404.png

 

0 Me gusta
karstenkoehler
Solución
Miembro del salón de la fama | Partner
Miembro del salón de la fama | Partner

@Huntscape-Ops please see my previous note on the output type, this needs to be set as date. You have it set as number.

 

The formula is as simple as:

 

date property + number property

 

(Keeping in mind that you need to multiply the number property with whatever the equivalent of milliseconds to your time unit is.)

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.

0 Me gusta
karstenkoehler
Miembro del salón de la fama | Partner
Miembro del salón de la fama | Partner

Hi @Huntscape-Ops,

 

Are you referring to a calculation property?

 

If so, yes, as long as you convert the number property into milliseconds and set the output type to "Date". (Calculated property type = Custom equation)

 

Can you share a screenshot of your configuration?

 

Best regards

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.

0 Me gusta