The community member is having an issue with parsing date and time in a connection from Typebot to HighLevel, where only the date is being parsed correctly. The community members suggest extracting the date and time separately using JavaScript functions like new Date({{Datetime}}).toLocaleTimeString() and new Date({{Datetime}}).toLocaleDateString(). The community member confirms that using a "set variable block" with the code new Date({{date}}).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' }) worked great to solve the issue.
Hi guys, i am making a connection from Typebot >> make >> HighLevel, When i parse the date with time, shows error on highlevel, only date will be parsed on the date field. I was wondering if we can separate the datepicker from the time picker or add a java time picker somehow after the date picker? Thank you!
Thank you!, I used a "set variable block" , on top assigned a variable, then I input: "new Date({{date}}).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })", this worked great, Thank you!