<?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: How can I get Year and Previous Month Name ? in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-can-i-get-year-and-previous-month-name/m-p/8304#M3470</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/1188"&gt;@gary1&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Using &lt;STRONG&gt;(1.months.ago)&lt;/STRONG&gt; instead of&lt;STRONG&gt; (today - 1.months)&lt;/STRONG&gt; simplifies the solution.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Shivakumar K A&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2024 05:33:01 GMT</pubDate>
    <dc:creator>shivakumara</dc:creator>
    <dc:date>2024-12-10T05:33:01Z</dc:date>
    <item>
      <title>How can I get Year and Previous Month Name ?</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-can-i-get-year-and-previous-month-name/m-p/8296#M3467</link>
      <description>&lt;P&gt;I have a report that has data up to the end of previous calendar month. I want to email it, with the subject line saying "Report as of November 2024"&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can get December 2024 with this:&lt;/P&gt;&lt;P&gt;=today.in_time_zone("America/New_York").strftime(" %B %Y ")&lt;/P&gt;&lt;P&gt;But can't figure out how to subtract 1 month from it&amp;nbsp; Where do I put "- 1.months"&amp;nbsp; without a syntax error ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 20:32:55 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-can-i-get-year-and-previous-month-name/m-p/8296#M3467</guid>
      <dc:creator>dunncrew</dc:creator>
      <dc:date>2024-12-09T20:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get Year and Previous Month Name ?</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-can-i-get-year-and-previous-month-name/m-p/8302#M3468</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/9690"&gt;@dunncrew&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&amp;nbsp;As per the requirement you need always a month ago ( i.e. if current month December then requirement to get November). Please correct me.&lt;BR /&gt;&lt;BR /&gt;in that case we can use directly "&lt;STRONG&gt;1.months.ago.in_time_zone("America/New_York").strftime(" %B %Y ")&lt;/STRONG&gt;"&amp;nbsp; &amp;nbsp;to simply the solution.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Shivakumar K A&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 05:41:01 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-can-i-get-year-and-previous-month-name/m-p/8302#M3468</guid>
      <dc:creator>shivakumara</dc:creator>
      <dc:date>2024-12-10T05:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get Year and Previous Month Name ?</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-can-i-get-year-and-previous-month-name/m-p/8303#M3469</link>
      <description>&lt;P&gt;To stick with your current formula you can do this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=(today - 1.months).in_time_zone("America/New_York").strftime(" %B %Y ")&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 05:19:37 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-can-i-get-year-and-previous-month-name/m-p/8303#M3469</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2024-12-10T05:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get Year and Previous Month Name ?</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-can-i-get-year-and-previous-month-name/m-p/8304#M3470</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/1188"&gt;@gary1&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Using &lt;STRONG&gt;(1.months.ago)&lt;/STRONG&gt; instead of&lt;STRONG&gt; (today - 1.months)&lt;/STRONG&gt; simplifies the solution.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Shivakumar K A&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 05:33:01 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-can-i-get-year-and-previous-month-name/m-p/8304#M3470</guid>
      <dc:creator>shivakumara</dc:creator>
      <dc:date>2024-12-10T05:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get Year and Previous Month Name ?</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-can-i-get-year-and-previous-month-name/m-p/8323#M3475</link>
      <description>&lt;P&gt;Thanks for both suggestions. At first it appeared your suggestions did not work.&lt;/P&gt;&lt;P&gt;I found a "bug" that if the variable was "DATE" type, changed to "STRING" , Workato remembers it used to be DATE and doesn't work, so I had to create new variables&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 16:14:39 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-can-i-get-year-and-previous-month-name/m-p/8323#M3475</guid>
      <dc:creator>dunncrew</dc:creator>
      <dc:date>2024-12-10T16:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get Year and Previous Month Name ?</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-can-i-get-year-and-previous-month-name/m-p/8324#M3476</link>
      <description>&lt;P&gt;There's a difference between answering the question and providing the simplest solution. I answered the question.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 16:34:14 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-can-i-get-year-and-previous-month-name/m-p/8324#M3476</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2024-12-10T16:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get Year and Previous Month Name ?</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-can-i-get-year-and-previous-month-name/m-p/8327#M3478</link>
      <description>&lt;P&gt;This is great!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 20:53:32 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-can-i-get-year-and-previous-month-name/m-p/8327#M3478</guid>
      <dc:creator>bludwig62</dc:creator>
      <dc:date>2024-12-13T20:53:32Z</dc:date>
    </item>
  </channel>
</rss>

