<?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: Changing Date Format in Recipe for Google Drive Folders in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/changing-date-format-in-recipe-for-google-drive-folders/m-p/8444#M3532</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11366"&gt;@energidi&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;STRONG&gt;solution&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Image_1: &lt;/STRONG&gt;If the incoming date field is of type &lt;STRONG&gt;Date&lt;/STRONG&gt;, there is no need to convert it to Date again. However, make note of the brackets&lt;STRONG&gt;.&lt;BR /&gt;Image_2&lt;/STRONG&gt;: If the incoming date field is of type &lt;STRONG&gt;String&lt;/STRONG&gt;, it is required to convert the source field to Date (i.e., strftime works on the Date field).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Date_Date1.PNG" style="width: 620px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1719i02A4AA32AE634239/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Date_Date1.PNG" alt="Date_Date1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="string_date.PNG" style="width: 630px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1718i3F5F8174569DBC95/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="string_date.PNG" alt="string_date.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;BR /&gt;Shivakumara Avadhani&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jan 2025 13:18:30 GMT</pubDate>
    <dc:creator>shivakumara</dc:creator>
    <dc:date>2025-01-02T13:18:30Z</dc:date>
    <item>
      <title>Changing Date Format in Recipe for Google Drive Folders</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/changing-date-format-in-recipe-for-google-drive-folders/m-p/8403#M3523</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hi everyone,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have a Workato recipe that connects Salesforce with Google Drive.&lt;BR /&gt;In the recipe, I’m creating Google Drive folders where the folder names are based on Contact names and their Date of Birth.&lt;/P&gt;&lt;P&gt;This setup works perfectly.&lt;/P&gt;&lt;P&gt;However, I want to change the Date of Birth format, which comes from the 'Date_of_Birth__c' Contact date field, from&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;YYYY-MM-DD&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;MM-DD-YYYY&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;How can this be achieved?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2024 05:43:13 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/changing-date-format-in-recipe-for-google-drive-folders/m-p/8403#M3523</guid>
      <dc:creator>energidi</dc:creator>
      <dc:date>2024-12-31T05:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Date Format in Recipe for Google Drive Folders</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/changing-date-format-in-recipe-for-google-drive-folders/m-p/8406#M3525</link>
      <description>&lt;P&gt;There are several date formulas that can accomplish this.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2024 14:25:18 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/changing-date-format-in-recipe-for-google-drive-folders/m-p/8406#M3525</guid>
      <dc:creator>rachelnatik</dc:creator>
      <dc:date>2024-12-31T14:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Date Format in Recipe for Google Drive Folders</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/changing-date-format-in-recipe-for-google-drive-folders/m-p/8407#M3526</link>
      <description>&lt;P&gt;Use this:&lt;/P&gt;&lt;P&gt;"2020-12-12".strftime("%m-%d-%Y")&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2024 16:40:12 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/changing-date-format-in-recipe-for-google-drive-folders/m-p/8407#M3526</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2024-12-31T16:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Date Format in Recipe for Google Drive Folders</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/changing-date-format-in-recipe-for-google-drive-folders/m-p/8408#M3527</link>
      <description>&lt;P&gt;Thank you, &lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/1188"&gt;@gary1&lt;/a&gt;&amp;nbsp;!&lt;BR /&gt;The formula works perfectly when written as follows:&lt;/P&gt;&lt;P&gt;[Date_of_Birth__c]=.strftime("%m-%d-%Y")&lt;BR /&gt;(The 'Date_of_Birth__c' field is sourced from an output).&lt;/P&gt;&lt;P&gt;However, attempting the formula below, which is what I need, results in the error: &lt;STRONG&gt;Formula has errors&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[ContactName__c]_[Date_of_Birth__c]=.strftime("%m-%d-%Y")&lt;BR /&gt;(The 'ContactName__c' field is sourced from an output).&lt;/P&gt;&lt;P&gt;Even after removing the underscore, the error persists.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 07:07:54 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/changing-date-format-in-recipe-for-google-drive-folders/m-p/8408#M3527</guid>
      <dc:creator>energidi</dc:creator>
      <dc:date>2025-01-02T07:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Date Format in Recipe for Google Drive Folders</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/changing-date-format-in-recipe-for-google-drive-folders/m-p/8439#M3530</link>
      <description>&lt;P&gt;this should work:&amp;nbsp;&lt;SPAN class=""&gt;"&lt;SPAN class=""&gt;#{&lt;SPAN class=""&gt;ContactName&lt;/SPAN&gt;__c}&lt;/SPAN&gt;_"&lt;/SPAN&gt; + &lt;SPAN class=""&gt;Date&lt;/SPAN&gt;_of_Birth__c.strftime(&lt;SPAN class=""&gt;'%m-%d-%Y'&lt;/SPAN&gt;)&amp;nbsp;&lt;BR /&gt;Is it recognised as a date/time string?&amp;nbsp; If not you can parse it to a date time format:&lt;/P&gt;&lt;P&gt;"#{ContactName__c}_" + Date.parse(Date_of_Birth__c).strftime('%m-%d-%Y')&lt;BR /&gt;&lt;BR /&gt;Maybe try the To-date formula see if it recognises it as a datetim? &lt;A href="https://docs.workato.com/formulas/date-formulas.html#to-date" target="_blank" rel="noopener"&gt;https://docs.workato.com/formulas/date-formulas.html#to-date&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 09:05:23 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/changing-date-format-in-recipe-for-google-drive-folders/m-p/8439#M3530</guid>
      <dc:creator>Ozdemira</dc:creator>
      <dc:date>2025-01-02T09:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Date Format in Recipe for Google Drive Folders</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/changing-date-format-in-recipe-for-google-drive-folders/m-p/8440#M3531</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11366"&gt;@energidi&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;The formula error which you see is because you are converting the date field to string.&lt;BR /&gt;And when we are using a formula toggle option, we must concatenate it to the strings.&lt;BR /&gt;&lt;BR /&gt;Example : [ContactName]+"_"+[DOB].strftime(&lt;SPAN&gt;"%m-%d-%Y")&lt;/SPAN&gt;)&lt;BR /&gt;Can you please check.&lt;BR /&gt;Regards,&lt;BR /&gt;Prudvi&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 09:09:26 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/changing-date-format-in-recipe-for-google-drive-folders/m-p/8440#M3531</guid>
      <dc:creator>Prudvi</dc:creator>
      <dc:date>2025-01-02T09:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Date Format in Recipe for Google Drive Folders</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/changing-date-format-in-recipe-for-google-drive-folders/m-p/8444#M3532</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11366"&gt;@energidi&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;STRONG&gt;solution&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Image_1: &lt;/STRONG&gt;If the incoming date field is of type &lt;STRONG&gt;Date&lt;/STRONG&gt;, there is no need to convert it to Date again. However, make note of the brackets&lt;STRONG&gt;.&lt;BR /&gt;Image_2&lt;/STRONG&gt;: If the incoming date field is of type &lt;STRONG&gt;String&lt;/STRONG&gt;, it is required to convert the source field to Date (i.e., strftime works on the Date field).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Date_Date1.PNG" style="width: 620px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1719i02A4AA32AE634239/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Date_Date1.PNG" alt="Date_Date1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="string_date.PNG" style="width: 630px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1718i3F5F8174569DBC95/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="string_date.PNG" alt="string_date.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;BR /&gt;Shivakumara Avadhani&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 13:18:30 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/changing-date-format-in-recipe-for-google-drive-folders/m-p/8444#M3532</guid>
      <dc:creator>shivakumara</dc:creator>
      <dc:date>2025-01-02T13:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Date Format in Recipe for Google Drive Folders</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/changing-date-format-in-recipe-for-google-drive-folders/m-p/8453#M3534</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/8685"&gt;@shivakumara&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your solution (image 1) worked.&lt;BR /&gt;Thank you very much!!!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 09:15:20 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/changing-date-format-in-recipe-for-google-drive-folders/m-p/8453#M3534</guid>
      <dc:creator>energidi</dc:creator>
      <dc:date>2025-01-06T09:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Date Format in Recipe for Google Drive Folders</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/changing-date-format-in-recipe-for-google-drive-folders/m-p/8459#M3535</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11366"&gt;@energidi&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Glad to hear that. Happy to help.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Shivakumara A&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 15:42:50 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/changing-date-format-in-recipe-for-google-drive-folders/m-p/8459#M3535</guid>
      <dc:creator>shivakumara</dc:creator>
      <dc:date>2025-01-06T15:42:50Z</dc:date>
    </item>
  </channel>
</rss>

