<?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 How to determine last calendar day of month in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-determine-last-calendar-day-of-month/m-p/49806#M5143</link>
    <description>Hi

Im working on a reporting scheduler process where I need to increment date values based on certain reporting frequencies (daily, weekly, momthly etc).

As part of this, I need to be able to determine the last day of a&amp;nbsp;month.

For example if my original date is 28/02/2018 and I use AddMonths (1) I will get a date of 28/02/2018 - I then need a calculation to determine what the last day of march is so I can use that date.

Is it possible to work this out in Blue Prism?

thanks</description>
    <pubDate>Wed, 17 Jan 2018 19:45:00 GMT</pubDate>
    <dc:creator>AdamOllerenshaw</dc:creator>
    <dc:date>2018-01-17T19:45:00Z</dc:date>
    <item>
      <title>How to determine last calendar day of month</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-determine-last-calendar-day-of-month/m-p/49806#M5143</link>
      <description>Hi

Im working on a reporting scheduler process where I need to increment date values based on certain reporting frequencies (daily, weekly, momthly etc).

As part of this, I need to be able to determine the last day of a&amp;nbsp;month.

For example if my original date is 28/02/2018 and I use AddMonths (1) I will get a date of 28/02/2018 - I then need a calculation to determine what the last day of march is so I can use that date.

Is it possible to work this out in Blue Prism?

thanks</description>
      <pubDate>Wed, 17 Jan 2018 19:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-determine-last-calendar-day-of-month/m-p/49806#M5143</guid>
      <dc:creator>AdamOllerenshaw</dc:creator>
      <dc:date>2018-01-17T19:45:00Z</dc:date>
    </item>
    <item>
      <title>I've done something similar…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-determine-last-calendar-day-of-month/m-p/49807#M5144</link>
      <description>I've done something similar to this before - I did it by using AddDays to subtract one day from the last 1st of the following month...&amp;nbsp;</description>
      <pubDate>Wed, 17 Jan 2018 22:26:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-determine-last-calendar-day-of-month/m-p/49807#M5144</guid>
      <dc:creator>Denis__Dennehy</dc:creator>
      <dc:date>2018-01-17T22:26:00Z</dc:date>
    </item>
    <item>
      <title>Hey Adam,…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-determine-last-calendar-day-of-month/m-p/49808#M5145</link>
      <description>Hey Adam,
Denis is spot on, create a date for the first of the month, add a month, subtract a day. See the bellow example which uses Today() to just calculate for the current month (replace Today() with any date in your target month)
AddDays(AddMonths(MakeDate(1, FormatDate(Today(), ""MM""), FormatDate(Today(), ""yyyy"")), 1), -1)</description>
      <pubDate>Thu, 18 Jan 2018 20:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-determine-last-calendar-day-of-month/m-p/49808#M5145</guid>
      <dc:creator>ChristopherBrow</dc:creator>
      <dc:date>2018-01-18T20:04:00Z</dc:date>
    </item>
  </channel>
</rss>

