<?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 get the staring date of week using the current now() function in appian?</title><link>https://community.appian.com/discussions/f/general/39099/how-to-get-the-staring-date-of-week-using-the-current-now-function-in-appian</link><description>Hi, 
 How to get the staring date time of week using the current now() function in Appian? 
 Example suppose Wed 14-05-2025, I want to get the date of starting of week i.e Monday 12-05-2025. 
 
 Thanks 
 Bihitak</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to get the staring date of week using the current now() function in appian?</title><link>https://community.appian.com/thread/148061?ContentTypeID=1</link><pubDate>Tue, 13 May 2025 07:56:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4a4a8323-cff2-4af4-9d0e-17d122968ec2</guid><dc:creator>Alberto Cort&amp;#233;s</dc:creator><description>&lt;p&gt;You can do it something like that:&lt;br /&gt;&lt;br /&gt;a!localVariables(&lt;br /&gt; local!today: todate(local(now())),&lt;br /&gt; todate(&lt;br /&gt; a!subtractDateTime(&lt;br /&gt; startDateTime: local!today,&lt;br /&gt; years: 0,&lt;br /&gt; months: 0,&lt;br /&gt; days: weekday(local!today, 3)&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the staring date of week using the current now() function in appian?</title><link>https://community.appian.com/thread/148059?ContentTypeID=1</link><pubDate>Tue, 13 May 2025 07:44:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a55890f1-8b7b-4cb9-bcef-38fbb5e579e7</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;now() - weekday(now()) + 1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the staring date of week using the current now() function in appian?</title><link>https://community.appian.com/thread/148058?ContentTypeID=1</link><pubDate>Tue, 13 May 2025 07:43:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dec5a1be-be1e-4066-a07b-8fdb6269383a</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;now()-weekday(now(),3)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;returnType : 3 here is to have first day of week set as Monday and&amp;nbsp;output index to be from 0 to 6. Ref&amp;nbsp;&lt;a id="" href="https://docs.appian.com/suite/help/25.1/fnc_date_and_time_weekday.html"&gt;https://docs.appian.com/suite/help/25.1/fnc_date_and_time_weekday.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the staring date of week using the current now() function in appian?</title><link>https://community.appian.com/thread/148056?ContentTypeID=1</link><pubDate>Tue, 13 May 2025 07:35:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:51e9486c-0108-48da-aaaf-e86d6847ac34</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Have you tried doing something with the weekday function?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/25.1/fnc_date_and_time_weekday.html"&gt;docs.appian.com/.../fnc_date_and_time_weekday.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>