⚙ Operations Hub

MarcoPericci
Contributor

Format epoch time value to date picker property

SOLVE

Hi!

 

I need some help about the format date action in workflows.

 

I use a custom code action to trigger a webhook that import values form our internal app database.

Some of these values are unix epoch date and I need to convert it to date and put in a date picker property.

 

Someone can help me?

1 Accepted solution
Mike_Eastwood
Solution
Key Advisor | Gold Partner
Key Advisor | Gold Partner

Format epoch time value to date picker property

SOLVE

Hi @MarcoPericci 

 

If your Custom Field is set up as a Date Property then it will show as a Pate Picker in the CRM.

 

Is that what you meant?

 

If it's not feel free to send em a message and we can jump on Zoom.

Mike

View solution in original post

3 Replies 3
Mike_Eastwood
Solution
Key Advisor | Gold Partner
Key Advisor | Gold Partner

Format epoch time value to date picker property

SOLVE

Hi @MarcoPericci 

 

If your Custom Field is set up as a Date Property then it will show as a Pate Picker in the CRM.

 

Is that what you meant?

 

If it's not feel free to send em a message and we can jump on Zoom.

Mike

Mike_Eastwood
Key Advisor | Gold Partner
Key Advisor | Gold Partner

Format epoch time value to date picker property

SOLVE

Hi @MarcoPericci 

 

If the date hasn't validated, and it's flushed, it will result in zero which is Epoch time* (00:00:00 UTC on 1 January 1970).

 

Are you converting your date to microseconds before passing it to HubSpot?

 

Did that work?

Mike

 

 

0 Upvotes
MarcoPericci
Contributor

Format epoch time value to date picker property

SOLVE

Hi @Mike_Eastwood !

 

The date that I import by a custom code inside a workflow is not empty.

Is expressed in epoch format in millisecond but is not zero.

 

The problem is How to convert this long number in a date picker property.