<?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: Issue with a date time variable in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/issue-with-a-date-time-variable/m-p/11719#M4499</link>
    <description>&lt;P&gt;Appreciated the detailed explanation Gary - thanks for your time on this &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Feb 2026 21:57:10 GMT</pubDate>
    <dc:creator>RussellJ</dc:creator>
    <dc:date>2026-02-02T21:57:10Z</dc:date>
    <item>
      <title>Issue with a date time variable</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/issue-with-a-date-time-variable/m-p/11669#M4486</link>
      <description>&lt;P&gt;Hi, having bit of trouble with a data time variable, my datapill is in this format: 2026-01-29T06:01:28.000000-05:00 and using all possible hints from AI to convert it to YYYY-MM-DD HH:MM but it just returns:&amp;nbsp;Error calculating input for field 'date':&lt;BR /&gt;wrong number of arguments (given 1&lt;BR /&gt;expected 0)&lt;/P&gt;&lt;P&gt;I'm only just starting my journey with workato&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2026 10:00:23 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/issue-with-a-date-time-variable/m-p/11669#M4486</guid>
      <dc:creator>Sonia</dc:creator>
      <dc:date>2026-01-30T10:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with a date time variable</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/issue-with-a-date-time-variable/m-p/11670#M4487</link>
      <description>&lt;P&gt;Hi Sonia&lt;/P&gt;&lt;P&gt;You don't say how you're currently trying to do the conversion, but have you tried using the "strftime" formula?&amp;nbsp; Documented here -&amp;nbsp;&lt;A href="https://docs.workato.com/en/formulas/date-formulas.html#strftime" target="_blank"&gt;https://docs.workato.com/en/formulas/date-formulas.html#strftime&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Russell&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2026 10:42:25 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/issue-with-a-date-time-variable/m-p/11670#M4487</guid>
      <dc:creator>RussellJ</dc:creator>
      <dc:date>2026-01-30T10:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with a date time variable</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/issue-with-a-date-time-variable/m-p/11671#M4488</link>
      <description>&lt;P&gt;I did try both&amp;nbsp;&lt;SPAN&gt;strftime and to date&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2026 11:11:36 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/issue-with-a-date-time-variable/m-p/11671#M4488</guid>
      <dc:creator>Sonia</dc:creator>
      <dc:date>2026-01-30T11:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with a date time variable</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/issue-with-a-date-time-variable/m-p/11674#M4489</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/13251"&gt;@Sonia&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Yes, I too getting errors with strftime and .to_date and .to_time formula, but we need to walk through some work around solution with formula. but for instant thought, please check the below solutions.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-01-30 170707.png" style="width: 400px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2517i2A24E4AB1BB48CE8/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-01-30 170707.png" alt="Screenshot 2026-01-30 170707.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-01-30 170755.png" style="width: 400px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2518i60EFD59C83E145A4/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-01-30 170755.png" alt="Screenshot 2026-01-30 170755.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2026 11:40:46 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/issue-with-a-date-time-variable/m-p/11674#M4489</guid>
      <dc:creator>rajeshjanapati</dc:creator>
      <dc:date>2026-01-30T11:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with a date time variable</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/issue-with-a-date-time-variable/m-p/11682#M4491</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/13251"&gt;@Sonia&lt;/a&gt;&amp;nbsp;, this is the correct solution formula:&lt;/P&gt;&lt;P&gt;="2026-01-29T06:01:28.000000-05:00".to_time.strftime("%Y-%m-%d %H:%M")&lt;BR /&gt;&lt;BR /&gt;where&amp;nbsp;"2026-01-29T06:01:28.000000-05:00" is the value of field datapill&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2026 16:27:33 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/issue-with-a-date-time-variable/m-p/11682#M4491</guid>
      <dc:creator>francbaviello</dc:creator>
      <dc:date>2026-01-30T16:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with a date time variable</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/issue-with-a-date-time-variable/m-p/11684#M4492</link>
      <description>&lt;P&gt;This is the way.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2026 16:51:24 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/issue-with-a-date-time-variable/m-p/11684#M4492</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2026-01-30T16:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with a date time variable</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/issue-with-a-date-time-variable/m-p/11685#M4493</link>
      <description>&lt;P&gt;I'd like to explain why this didn't work and why&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/10080"&gt;@francbaviello&lt;/a&gt;&amp;nbsp;provided the correct solution.&lt;/P&gt;&lt;P&gt;Your input value is a &lt;STRONG&gt;string data type&lt;/STRONG&gt;. The string value is formatted as a standard ISO timestamp.&lt;/P&gt;&lt;P&gt;ISO timestamps can easily be converted to a &lt;STRONG&gt;date/time data type&lt;/STRONG&gt; by using to_time.&lt;/P&gt;&lt;P&gt;strftime only accepts date/time data types as input. If you pass a string, it will fail. If you pass a date (to_date), it will fail.&lt;/P&gt;&lt;P&gt;You must go from string data type &amp;gt; date/time data type &amp;gt; strftime&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;"2026-01-29T06:01:28.000000-05:00".strftime() 
## this will fail because strftime does not accept string

"2026-01-29T06:01:28.000000-05:00".to_date.strftime() 
## this will fail because strftime does not accept date

"2026-01-29T06:01:28.000000-05:00".to_time.strftime() 
## this will succeed because the input has been converted to date/time&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2026 19:56:25 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/issue-with-a-date-time-variable/m-p/11685#M4493</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2026-01-30T19:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with a date time variable</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/issue-with-a-date-time-variable/m-p/11708#M4494</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/13251"&gt;@Sonia&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;DIV&gt;One more question: since your input is in Eastern Time (US &amp;amp; Canada) (UTC‑5:00), should the output also be based on the same time zone?&lt;BR /&gt;Here I am adding another solution:&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Scheduled time Response.png" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2528iFCC5CD652C8DBA06/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Scheduled time Response.png" alt="Scheduled time Response.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Schedules time.png" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2529i5AB7D66DD4B705BD/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Schedules time.png" alt="Schedules time.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;BR /&gt;Shivakumara K A&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 14:21:36 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/issue-with-a-date-time-variable/m-p/11708#M4494</guid>
      <dc:creator>shivakumara</dc:creator>
      <dc:date>2026-02-02T14:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with a date time variable</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/issue-with-a-date-time-variable/m-p/11719#M4499</link>
      <description>&lt;P&gt;Appreciated the detailed explanation Gary - thanks for your time on this &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 21:57:10 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/issue-with-a-date-time-variable/m-p/11719#M4499</guid>
      <dc:creator>RussellJ</dc:creator>
      <dc:date>2026-02-02T21:57:10Z</dc:date>
    </item>
  </channel>
</rss>

