<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: String date to date property in automation/workflow with custom code in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/923069#M71094</link>
    <description>&lt;P&gt;Hi! Did you manage to resolve this issue? I am facing the same and I am not able to find out what the problem is.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Feb 2024 08:16:01 GMT</pubDate>
    <dc:creator>ALintermanns</dc:creator>
    <dc:date>2024-02-15T08:16:01Z</dc:date>
    <item>
      <title>String date to date property in automation/workflow with custom code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/783030#M63210</link>
      <description>&lt;P&gt;Trying to convert a string (mm/dd/yy) to something HubSpot won't bark at.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;exports.main = async (event, callback) =&amp;gt; {&lt;BR /&gt;&lt;BR /&gt;var ca_date = event.inputFields['ca_date'];&lt;BR /&gt;ca_date = ca_date.split(' ').join('T');&lt;BR /&gt;console.log(ca_date);&lt;BR /&gt;var date = new Date(ca_date);&lt;BR /&gt;console.log('&amp;lt;br /&amp;gt;' + date);&lt;BR /&gt;date = date.getTime() / 1000;&lt;BR /&gt;console.log('&amp;lt;br /&amp;gt;' + date);&lt;BR /&gt;&lt;BR /&gt;callback({&lt;BR /&gt;outputFields: {&lt;BR /&gt;date: date&lt;BR /&gt;}&lt;BR /&gt;});&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;date is being output as datetime, tested the code, example output below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-04-17 at 9.01.10 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/89375i1DCCB4F4B9B4B7EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-04-17 at 9.01.10 PM.png" alt="Screen Shot 2023-04-17 at 9.01.10 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and it seems to work, however when I try to use the "Copy Property Value" function within the workflow (to a datepicker property), all I get is this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;Event&lt;/DIV&gt;&lt;DIV&gt;&lt;UL class=""&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Unable to update property because property value isn't valid&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Tried to talk to HupSpot online support but I don't think they have the expertise that I'm looking for, they wanted me to export to excel then import, which defeats to purpose of a workflow/automation.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;I've tried it with python also and have been racking my head trying to get this to work.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Any assistance from anyone would be greatly appreciated.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 18 Apr 2023 01:04:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/783030#M63210</guid>
      <dc:creator>VNguyen0</dc:creator>
      <dc:date>2023-04-18T01:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: String date to date property in automation/workflow with custom code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/783131#M63218</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, it looks like the code you provided is converting the string date to a Unix timestamp (in seconds), which may not be compatible with HubSpot's date format. HubSpot expects a date value in ISO 8601 format, which is "yyyy-mm-ddThh:mm:ssZ".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can modify your code to convert the string date to the ISO 8601 format before setting it as the output field value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here's an example implementation using the moment.js library:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;const moment = require('moment');

exports.main = async (event, callback) =&amp;gt; {
  const ca_date = event.inputFields['ca_date'];
  const date = moment(ca_date, 'MM/DD/YY').format('YYYY-MM-DDTHH:mm:ssZ');
  console.log(date);
  callback({
    outputFields: {
      date: date
    }
  });
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this implementation, we're using moment.js to parse the string date with the 'MM/DD/YY' format and format it as an ISO 8601 string using 'YYYY-MM-DDTHH:mm:ssZ'. You can then set the date variable as the output field value, which should be in the correct format for HubSpot.&amp;nbsp;&lt;SPAN&gt;We always work in this manner at Triotech Systems. I hope this helps!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 08:44:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/783131#M63218</guid>
      <dc:creator>Expertopinionsa</dc:creator>
      <dc:date>2023-04-18T08:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: String date to date property in automation/workflow with custom code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/783346#M63225</link>
      <description>&lt;P&gt;Thanks for the tip. Unfortunately I couldn't get it to work. I'm using the custom code function in the workflow (node.js) and it complaining about moment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll keep plugging away at it, just very frustrating as HubSpot hasn't provided any guidance. I'm able to use Zapier and use the formatter feature to do what it needs to do, but am trying to convert my zaps to workflows if possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 15:23:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/783346#M63225</guid>
      <dc:creator>VNguyen0</dc:creator>
      <dc:date>2023-04-18T15:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: String date to date property in automation/workflow with custom code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/783471#M63245</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/478451"&gt;@VNguyen0&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might just be over thinking it! Have you tried the .parse() method?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;var ca_date = event.inputFields['ca_date'];
const unixTimeStamp = Date.parse(ca_date);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This should output a unixtimestamp in milliseconds, which is compatable with HS. You may want to do alittle additional modifiation if the time is important:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;var ca_date = event.inputFields['ca_date'];
const unixTimeStamp = Date.parse(ca_date);
// set time to midnight to be compatable with HS date property
const midnightUnix = unixTimeStamp.setHours(0,0,0); // date.setHours(hours,minutes,seconds);
console.log(midnightUnix);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 19:14:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/783471#M63245</guid>
      <dc:creator>Kevin-C</dc:creator>
      <dc:date>2023-04-18T19:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: String date to date property in automation/workflow with custom code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/783479#M63247</link>
      <description>&lt;P&gt;Datetime can get complicated fast…way too fast IMO! Try to keep it as simple as possible!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 19:15:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/783479#M63247</guid>
      <dc:creator>Kevin-C</dc:creator>
      <dc:date>2023-04-18T19:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: String date to date property in automation/workflow with custom code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/783563#M63261</link>
      <description>&lt;P&gt;Thanks I'll give it a try.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 21:57:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/783563#M63261</guid>
      <dc:creator>VNguyen0</dc:creator>
      <dc:date>2023-04-18T21:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: String date to date property in automation/workflow with custom code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/784351#M63309</link>
      <description>&lt;P&gt;Really sorry for the confusion. It looks like HubSpot's custom code function for workflows may not support the moment.js library. In that case, you can try using JavaScript's built-in Date object to convert the string date to an ISO 8601 format.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;try this:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;exports.main = async (event, callback) =&amp;gt; {
  const ca_date = event.inputFields['ca_date'];
  const date = new Date(ca_date);
  const isoDate = date.toISOString();
  console.log(isoDate);
  callback({
    outputFields: {
      date: isoDate
    }
  });
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here we're creating a new Date object from the string date and then using the Date object's toISOString() method to format it as an ISO 8601 string. You can then set the isoDate variable as the output field value, which should be in the correct format for HubSpot.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 10:19:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/784351#M63309</guid>
      <dc:creator>Expertopinionsa</dc:creator>
      <dc:date>2023-04-20T10:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: String date to date property in automation/workflow with custom code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/826462#M66045</link>
      <description>&lt;P&gt;I'm trying to do this and I'm struggling with writing the properties still.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I get outputs that look exactly like the format (from what I can tell):&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DPezzulo_0-1690518288044.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/95723i400ABB1C10AD712D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DPezzulo_0-1690518288044.png" alt="DPezzulo_0-1690518288044.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Why are these coming back as invalid for datepicker fields?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 04:25:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/826462#M66045</guid>
      <dc:creator>DPezzulo</dc:creator>
      <dc:date>2023-07-28T04:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: String date to date property in automation/workflow with custom code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/866403#M68330</link>
      <description>&lt;P&gt;Hi! Have you managed to sort this? I'm after the same issue. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 14:57:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/866403#M68330</guid>
      <dc:creator>LDeBenedetti</dc:creator>
      <dc:date>2023-10-18T14:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: String date to date property in automation/workflow with custom code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/866464#M68335</link>
      <description>&lt;P&gt;Yes, the solution for me was to have the output come through as unix epoch timestamp, even though it seems to imply it wants a datetime.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It needs to be in miliseconds, here's an example of a working output value:&lt;BR /&gt;&lt;SPAN&gt;1689897600000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 16:19:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/866464#M68335</guid>
      <dc:creator>DPezzulo</dc:creator>
      <dc:date>2023-10-18T16:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: String date to date property in automation/workflow with custom code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/879767#M69079</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the good solution :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;exports.main = async (event, callback) =&amp;gt; { 
const date = event.inputFields['date']; 
var sdateconvert = new Date(sdate).valueOf(); 

callback({ 
outputFields: 
{ 
sdateconvert: sdateconvert 
} 
}); 
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You just need to convert in unix timestamp in &lt;STRONG&gt;milliseconds&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 08:44:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/879767#M69079</guid>
      <dc:creator>MaxWCS</dc:creator>
      <dc:date>2023-11-15T08:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: String date to date property in automation/workflow with custom code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/923069#M71094</link>
      <description>&lt;P&gt;Hi! Did you manage to resolve this issue? I am facing the same and I am not able to find out what the problem is.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 08:16:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/923069#M71094</guid>
      <dc:creator>ALintermanns</dc:creator>
      <dc:date>2024-02-15T08:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: String date to date property in automation/workflow with custom code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/923074#M71096</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;juste do this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;var convertDate = new Date(yourDate).valueOf();&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 08:34:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/923074#M71096</guid>
      <dc:creator>MaxWCS</dc:creator>
      <dc:date>2024-02-15T08:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: String date to date property in automation/workflow with custom code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/923113#M71099</link>
      <description>&lt;P&gt;Thank you. I am not sure if my reply shows correctly, but I have the output correct in ISO timestamp. But I am not able to pass it to property. As it shows "invalid data"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would the code you added correct this issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-02-15 at 10.21.48.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/109645i863E372B9495F4CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-02-15 at 10.21.48.png" alt="Screenshot 2024-02-15 at 10.21.48.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-02-15 at 09.35.39.png" style="width: 692px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/109639i0059F28B934B922F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-02-15 at 09.35.39.png" alt="Screenshot 2024-02-15 at 09.35.39.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My issue is in this step:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-02-15 at 10.21.27.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/109647i0EC5A77029776CC2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-02-15 at 10.21.27.png" alt="Screenshot 2024-02-15 at 10.21.27.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The delivery date (timestamp) is a date picker property.&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-02-15 at 10.21.19.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/109648iBE778B0EC91CB687/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-02-15 at 10.21.19.png" alt="Screenshot 2024-02-15 at 10.21.19.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you can help me, I am been 3 weeks stuck with this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 09:23:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/923113#M71099</guid>
      <dc:creator>ALintermanns</dc:creator>
      <dc:date>2024-02-15T09:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: String date to date property in automation/workflow with custom code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/923121#M71100</link>
      <description>&lt;P&gt;Please read my comment, just convert your date with valueOf();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to have a milliseconds result like this : &lt;A href="https://www.geeksforgeeks.org/javascript-date-valueof-method/#:~:text=Date.valueOf()%20method.-,Example%201%3A%C2%A0,-javascript" target="_blank" rel="noopener"&gt;check here&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 09:27:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/923121#M71100</guid>
      <dc:creator>MaxWCS</dc:creator>
      <dc:date>2024-02-15T09:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: String date to date property in automation/workflow with custom code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/923131#M71101</link>
      <description>&lt;P&gt;Thanks a lot! It worked.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 09:48:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/923131#M71101</guid>
      <dc:creator>ALintermanns</dc:creator>
      <dc:date>2024-02-15T09:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: String date to date property in automation/workflow with custom code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/951725#M72341</link>
      <description>&lt;P&gt;I am facing the same issue. Tried your solution using the valueOf() however couldnt figure out why it still isn't working.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2024 00:29:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/String-date-to-date-property-in-automation-workflow-with-custom/m-p/951725#M72341</guid>
      <dc:creator>FSiddiqui8</dc:creator>
      <dc:date>2024-03-29T00:29:35Z</dc:date>
    </item>
  </channel>
</rss>

