<?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>How to pass hours as 2nd parameter in caladdddays function</title><link>https://community.appian.com/discussions/f/rules/22405/how-to-pass-hours-as-2nd-parameter-in-caladdddays-function</link><description>Hi All, 
 In my application, I have to use caladddays() function which calculates only the net work days and for daylight boundaries. 
 So for 72 hours, I will use caladddays(ri!date,3) , it works fine.(where ri!date = 1st November 2021,10:00 AM) 
 But</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to pass hours as 2nd parameter in caladdddays function</title><link>https://community.appian.com/thread/87690?ContentTypeID=1</link><pubDate>Fri, 05 Nov 2021 11:38:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:42cf67d9-3f5f-4ca2-ad5e-3b46ef4941d6</guid><dc:creator>Jansi J</dc:creator><description>&lt;p&gt;Okay, I got your point. Thanks for your reply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to pass hours as 2nd parameter in caladdddays function</title><link>https://community.appian.com/thread/87682?ContentTypeID=1</link><pubDate>Fri, 05 Nov 2021 08:40:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6b644e21-b5af-489f-af2e-8b6e13cea984</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You can not add hours using the caladddays() function. If you need to use hours, then think in business hours. By default, 8 hours would be one day.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to pass hours as 2nd parameter in caladdddays function</title><link>https://community.appian.com/thread/87677?ContentTypeID=1</link><pubDate>Fri, 05 Nov 2021 07:42:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:75e0cd4c-5c44-4733-9e14-190fc0fcede8</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;Hi jansij,&lt;/p&gt;
&lt;p&gt;then i missunderstood you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;are you looking for additional working hours on top of your datetime?&lt;/p&gt;
[quote userid="55817" url="~/discussions/f/rules/22405/how-to-pass-hours-as-2nd-parameter-in-caladdddays-function/87675#87675"]pass hours constant .[/quote]
&lt;p&gt;&lt;span&gt;I am not sure if we talk about the same sense of &amp;quot;constant&amp;quot; here.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;kind regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Richard&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to pass hours as 2nd parameter in caladdddays function</title><link>https://community.appian.com/thread/87675?ContentTypeID=1</link><pubDate>Fri, 05 Nov 2021 07:33:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7b377019-c945-4a5e-ace6-ea7c38a44e87</guid><dc:creator>Jansi J</dc:creator><description>&lt;p&gt;Hi Richard,&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;I tried this but it is not working.&lt;/p&gt;
&lt;p&gt;caladddays(ri!date,&lt;span style="background-color:#ffff00;"&gt;3&lt;/span&gt;),here&amp;nbsp; 3 is number of days&amp;nbsp;,but in place of 3 I want to pass hours constant .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to pass hours as 2nd parameter in caladdddays function</title><link>https://community.appian.com/thread/87669?ContentTypeID=1</link><pubDate>Fri, 05 Nov 2021 07:12:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7fefbc56-c124-423b-a9c2-c90706ed5026</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;cons!EXA_HOURS_ADDITONAL(type: int)

caladddays(ri!date,3)+ cons!EXA_HOURS_ADDITONAL * hours()&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>