💬 RevOps Discussions

AChubak
Contributor

Date format for passing date properties through the URL parameters

SOLVE

Hello

I'm trying to pass additional properties through the URL parameters. For example

https://meetings.hubspot.com/person-name?lead_type=conference

 

Will book a meeting with a person and will set lead_type to conference. 

 

I'm also trying to pass a date through the URL but I can't. I've tried many formats including the ISO standard and UTC times that works with other sites, but it's not working for Hubspot. Does anyone know how to do this? I've even asked ChatGPT and it couldn't get it right. 

 

As an example here's the format with 

https://meetings.hubspot.com/person_name?conference_date=2023-03-03

 

0 Upvotes
1 Accepted solution
AChubak
Solution
Contributor

Date format for passing date properties through the URL parameters

SOLVE

The answer is if you're passing a date property you need to pass the parameter as a timestamp set specifically for midnight UTC time of the date you're trying to pass through. Include the milliseconds.

 

AChubak_0-1678719137991.png

 

 

View solution in original post

1 Reply 1
AChubak
Solution
Contributor

Date format for passing date properties through the URL parameters

SOLVE

The answer is if you're passing a date property you need to pass the parameter as a timestamp set specifically for midnight UTC time of the date you're trying to pass through. Include the milliseconds.

 

AChubak_0-1678719137991.png