<?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>Date difference in  Interface Vs Process model</title><link>https://community.appian.com/discussions/f/general/13360/date-difference-in-interface-vs-process-model</link><description>Hello All, 
 
 I have an interface, where I am using a!dateField() component to select the date ranges. 
 If I select 18th Sep in the interface and submit the form, Its getting stored as 17th Sep in the process variables. And I am storing the same PV</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Date difference in  Interface Vs Process model</title><link>https://community.appian.com/thread/60984?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 14:56:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:47b5b2ae-b185-485a-b1e4-3b4b3fb0fa59</guid><dc:creator>mitchellg942045</dc:creator><description>I would be sure to wrap any saved date value in local() (or gmt() and then convert from there if the whole system is on one timezone). Also ensure that you are not confusing a Date with a DateTime.  You could possibly be stripping out the time associated with the date and when it is read in as 00.00.00 and being converted to the previous day due to the selected time zone.  Ensuring that the value being saved/selected in the form is the same value being written to the pv should correct the issue&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date difference in  Interface Vs Process model</title><link>https://community.appian.com/thread/60532?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 09:13:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b62c8163-484b-47b4-9c1e-10d40ebf49b7</guid><dc:creator>ravalik</dc:creator><description>Hi sujithap,&lt;br /&gt;
&lt;br /&gt;
Date component behaviour in ProcessModel:&lt;br /&gt;
Time zone context used by the process. This value may differ from the configured process model time zone, such as when the designer selects the option to override the configured process model time zone with the process initiator&amp;#39;s time zone.&lt;br /&gt;
&lt;br /&gt;
Interface:&lt;br /&gt;
When Datetime values are presented to users in the interface, they are always adjusted to the current user&amp;#39;s time zone. This may cause the expected output to vary significantly. Additionally, the acronym of the user&amp;#39;s local time zone (such as EDT) is appended to a displayed Datetime value when it appears in a form, an alert, or in an email.&lt;br /&gt;
&lt;br /&gt;
For More Info: &lt;a href="https://docs.appian.com/suite/help/18.3/Configuring_the_Default_Language_and_Timezone.html"&gt;docs.appian.com/.../Configuring_the_Default_Language_and_Timezone.html&lt;/a&gt;.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date difference in  Interface Vs Process model</title><link>https://community.appian.com/thread/60525?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 04:52:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5187b86a-5c4c-4a7e-9f58-8166155faacf</guid><dc:creator>jamesp0015</dc:creator><description>1) check the Time Zone settings.&lt;br /&gt;
2)Check PMs properties for &amp;quot;Override Initiators time zone&amp;quot;.&lt;br /&gt;
3)check field &amp;quot;types&amp;quot; in interface and PM are of same type(Ex: Date,DateTime).&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date difference in  Interface Vs Process model</title><link>https://community.appian.com/thread/60488?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 09:43:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:47d58809-de25-4295-8400-29a08d24ddaf</guid><dc:creator>vishnuv</dc:creator><description>Firstly, check the time zone settings in the admin console if it set correctly or not. In the latter case, the function you are using on the interface to call date might cause the issue.&lt;br /&gt;
Alternatively,try using text(), local() or gmt() function and validate the same.&lt;br /&gt;
Also ensure that from PM properties, general tab “Override initiator’s time zone” is checked&lt;br /&gt;
&lt;br /&gt;
For reference which might help - &lt;a href="https://community.appian.com/w/the-appian-playbook/983/handling-date-and-time"&gt;community.appian.com/.../handling-date-and-time&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date difference in  Interface Vs Process model</title><link>https://community.appian.com/thread/60487?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 09:14:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:294b269b-7b23-437c-84fb-e7c3866e485b</guid><dc:creator>ganeshp</dc:creator><description>Hi Sujitha,&lt;br /&gt;
&lt;br /&gt;
can you please check the timezone setting in general tab of the processmodel properties to see if Override with the initiator&amp;#39;s time zone is selected.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date difference in  Interface Vs Process model</title><link>https://community.appian.com/thread/60411?ContentTypeID=1</link><pubDate>Tue, 18 Sep 2018 11:49:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:69d9753d-f7f5-4ba2-b4b9-36932b8a1535</guid><dc:creator>vamsir</dc:creator><description>Hi Sujitha,&lt;br /&gt;
&lt;br /&gt;
While saving to the data to a process variable can you wrap the it in any one of the Date and Time functions like  gmt() / local() and try.&lt;br /&gt;
&lt;br /&gt;
May be the following documentation URL helps you.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://docs.appian.com/suite/help/18.3/Time_Zone_Context.html"&gt;docs.appian.com/.../Time_Zone_Context.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Vamsi&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date difference in  Interface Vs Process model</title><link>https://community.appian.com/thread/60407?ContentTypeID=1</link><pubDate>Tue, 18 Sep 2018 11:30:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9f9ebb21-aeb1-4c6a-8d38-6b504e1d22a1</guid><dc:creator>sujithap951</dc:creator><description>Hi Yamuna,&lt;br /&gt;
&lt;br /&gt;
I Have verified all 3 time zones, In  Appian both interface and process model are having PDT and SQL server is in PST.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date difference in  Interface Vs Process model</title><link>https://community.appian.com/thread/60398?ContentTypeID=1</link><pubDate>Tue, 18 Sep 2018 10:51:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd63f166-77c7-4f5b-9345-572aded25fc7</guid><dc:creator>yamunar0001</dc:creator><description>Hi Sujitha,&lt;br /&gt;
&lt;br /&gt;
Could you please check user time zone(date giving on interface), process model time zone as well as data base(SQL) time zones, because according to my understanding as per your comments,if any time zone is different from each time zones , this type of scenario will be the out come.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>