<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Calculation of Business Day from a Date</title><link>https://community.appian.com/discussions/f/general/21810/calculation-of-business-day-from-a-date</link><description>Hi, 
 I have a requirement where i have to calculate the Business Day of a particular Date in a Month. The calculation happens from 1st of every month. 
 Basically my requirement is opposite of workday(), in workday() business day is passed and it provides</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Calculation of Business Day from a Date</title><link>https://community.appian.com/thread/85474?ContentTypeID=1</link><pubDate>Sun, 05 Sep 2021 03:39:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:79498196-bd30-4ec0-a59c-3cc2f556e45c</guid><dc:creator>baratc</dc:creator><description>&lt;p&gt;Hi Preetis,&lt;/p&gt;
&lt;p&gt;Pls pass the holiday date also. Also create constant&amp;nbsp; for list of holidays or query from table and pass the holiday dates if your app is having holiday dates information in Database&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;networkdays&lt;/strong&gt;&lt;span&gt;(&amp;nbsp;&lt;/span&gt;&lt;em&gt;starting_date, ending_date, holidays&lt;/em&gt;&lt;span&gt;&amp;nbsp;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;ex:networkdays(&amp;quot;09/01/2021&amp;quot;,&amp;quot;09/10/2021&amp;quot;,&amp;quot;09/06/2021&amp;quot;) -&amp;gt; output is 7&lt;/p&gt;
&lt;p&gt;networkdays(&amp;quot;12/20/2021&amp;quot;,&amp;quot;12/24/2021&amp;quot;,{&amp;quot;12/22/2021&amp;quot;,&amp;quot;12/23/2021&amp;quot;})-&amp;gt;output is 3&lt;/p&gt;
&lt;p&gt;Pls refer the link for documentation&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/21.3/fnc_date_and_time_networkdays.html"&gt;https://docs.appian.com/suite/help/21.3/fnc_date_and_time_networkdays.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt;Thanks,barat&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calculation of Business Day from a Date</title><link>https://community.appian.com/thread/85448?ContentTypeID=1</link><pubDate>Fri, 03 Sep 2021 10:30:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:14f7f6c0-2e7a-446a-b6df-6a192a88b5da</guid><dc:creator>preetis0002</dc:creator><description>&lt;p&gt;Networkdays() gives the no of working days between 2 given dates.&lt;/p&gt;
&lt;p&gt;My requirement is to get the business day for a given date.&lt;/p&gt;
&lt;p&gt;ex - if Todays date is 1st Sept 2021 , then 10th September (10/09/2020) its the 7th business day for the September month.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calculation of Business Day from a Date</title><link>https://community.appian.com/thread/85443?ContentTypeID=1</link><pubDate>Fri, 03 Sep 2021 09:04:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ab02109f-fd3a-4a0b-b071-dc7bcee58f76</guid><dc:creator>gayathris111098</dc:creator><description>&lt;p&gt;try this function networkdays()&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also can you give some sample input and output?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>