<?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>Time zone format</title><link>https://community.appian.com/discussions/f/process/34504/time-zone-format</link><description>Hi Everyone, 
 I have Timestamp field(TS_LOAD) like you can see that below which is coming from a cdt in one of the process model and that Timestamp filed is Text in that cdt 
 
 
 i written an expression to convert that Timestamp field to user&amp;#39;s timezone</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Time zone format</title><link>https://community.appian.com/thread/132149?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 18:17:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0690ff7f-e72a-4806-a608-90518e6d1604</guid><dc:creator>sairam satyanarayanam0001</dc:creator><description>&lt;p&gt;&lt;img height="227" src="/cfs-file/__key/communityserver-discussions-components-files/14/pastedimage1711630876722v2.png" width="781" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I am using this expression while getting the correct timezone as output but process model i am getting GMT&lt;/p&gt;
&lt;p&gt;and i am using this rule in script task in process model and i am getting the format as below&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:54px;max-width:1328px;" height="54" src="/resized-image/__size/2656x108/__key/communityserver-discussions-components-files/14/pastedimage1711736207297v1.png" width="1328" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time zone format</title><link>https://community.appian.com/thread/132144?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 16:59:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b7adf9c4-fba1-4d83-b051-21840806c4d3</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;All the things you observe perfectly match what I describe in my blog post.&lt;/p&gt;
&lt;p&gt;And by &amp;quot;manually&amp;quot; I mean trying to use gmt() and/or local() to modify a datetime value to make it look correct on the screen. In my experience, doing so just messes up things.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time zone format</title><link>https://community.appian.com/thread/132143?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 16:51:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3283382b-77eb-40a1-b883-33693b4d16ac</guid><dc:creator>sairam satyanarayanam0001</dc:creator><description>&lt;p&gt;i am not calculating manually and i am using the GMT function in Appian as i mention in the above screenshot(starting of the chat) of the expression rule&lt;/p&gt;
&lt;p&gt;And it is returning me the PST time zone output but when i put the same expression in process model it is returning me the GMT as output&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time zone format</title><link>https://community.appian.com/thread/132124?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 14:03:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6e3c58a5-90a5-4b31-b350-16a936bdd09f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Hm ... you use the gmt() function in your expression. Are you aware that this function subtracts any timezone offset and so converts TO gmt?&amp;nbsp;I assume that the timestamp stored in the DB is in GMT. So, why do you subtract that timezone offset?&lt;/p&gt;
&lt;p&gt;I know, manually calculating timezones can be mind-bending and the way Appian ALWAYS translates into user timezone when displaying a time value does make it even harder.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time zone format</title><link>https://community.appian.com/thread/132118?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 13:32:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f97170cf-a411-4e2c-9e75-777e876c6541</guid><dc:creator>sairam satyanarayanam0001</dc:creator><description>&lt;p&gt;My problem didn&amp;#39;t resolved. Actually values are not populating here as expected.&lt;/p&gt;
&lt;p&gt;Thanks for the inputs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time zone format</title><link>https://community.appian.com/thread/132069?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 10:08:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ef7a3c87-fa29-45ea-80ba-2dde8da08828</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Setting a time zone at the model level just to overwrite it with the initiator is a great way to create confusion!&lt;/p&gt;
&lt;p&gt;The date values you SEE are always translated into the time zone of your user account. But only in the user interface, the actual values internally are always UTC. That is what I try to make clear in my blog post!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time zone format</title><link>https://community.appian.com/thread/132061?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 09:07:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e701ed3b-6684-4216-bd6a-dc7dce38633d</guid><dc:creator>sairam satyanarayanam0001</dc:creator><description>&lt;p&gt;&lt;img style="max-height:93px;max-width:465px;" alt=" " height="93" src="/resized-image/__size/930x186/__key/communityserver-discussions-components-files/14/pastedimage1711703148371v1.png" width="465" /&gt;&lt;/p&gt;
&lt;p&gt;And in system setting we have same time zone but still i am getting the result in GMT through process and in expression i am getting in PST and all are in same time zone PST&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:86px;max-width:786px;" height="86" src="/resized-image/__size/1572x172/__key/communityserver-discussions-components-files/14/pastedimage1711703434575v1.png" width="786" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;If i removed the above one it will take the system settings as PST time zone so&lt;/p&gt;
&lt;p&gt;I am not getting the point here how the process getting the out put in GMT&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time zone format</title><link>https://community.appian.com/thread/132060?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 09:04:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9c5a5ba5-a715-40f6-89ca-63bd54a7d1f7</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;The timezone context in a process is defined by the time zone in the model properties dialog. That&amp;#39;s what I describe in my blog post. You can either set this to a fixed timezone, or use the timezone of the initiator.&lt;/p&gt;
&lt;p&gt;In Appian there is no such thing as the &amp;quot;system defined timezone&amp;quot;. And yes, I know that Appian runs on a server and that server has a timezone, but for Appian this is ALWAYS UTC, and Appian manages all the necessary translations between UTC and the local time zone of user context and process instance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time zone format</title><link>https://community.appian.com/thread/132056?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 08:44:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0102368a-6451-4526-92e4-2f96602fd4a6</guid><dc:creator>sairam satyanarayanam0001</dc:creator><description>&lt;p&gt;yes, i too confirmed it from m end this one.&lt;/p&gt;
&lt;p&gt;But i put process model setting as who ever started the process(for all processes) but when i am seeing in process history it is showing as administrator like below&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:120px;max-width:441px;" height="120" src="/resized-image/__size/882x240/__key/communityserver-discussions-components-files/14/pastedimage1711701675534v1.png" width="441" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;now my question was&lt;/p&gt;
&lt;p&gt;as process model setting was who ever started it need to be in my name, if so i am getting as administartor for this particular process and for remainig it was showing as my name&amp;nbsp;&lt;/p&gt;
&lt;p&gt;is administrator will take the time in GMT format? as my sys setting is in PST and i am administrator too(just for info)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time zone format</title><link>https://community.appian.com/thread/132054?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 08:09:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:99643905-373e-4ecd-9d65-5f39879b9ba4</guid><dc:creator>Karumuru Abhishek</dc:creator><description>&lt;p&gt;hi &lt;a href="/members/sairamsatyanarayanam0001"&gt;sairam satyanarayanam0001&lt;/a&gt;&amp;nbsp;&lt;span&gt;the default time zone for the start process and sub process depends on the configuration of your environment and the user&amp;#39;s settings.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time zone format</title><link>https://community.appian.com/thread/132051?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 06:22:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3fdad145-a259-4505-9976-6592a014a25a</guid><dc:creator>sairam satyanarayanam0001</dc:creator><description>&lt;p&gt;Thanks for that but it not resolved my problem yet&amp;nbsp;&lt;/p&gt;
&lt;p&gt;we didn&amp;#39;t have any time constrains in process level it will take from system time zone.&lt;/p&gt;
&lt;p&gt;Right now, My question was what is default time zone for start process and sub process?&lt;/p&gt;
&lt;p&gt;is start process will only return system configured time zone?&lt;/p&gt;
&lt;p&gt;or sub process(sync/async) will only return GMT time zone by default?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time zone format</title><link>https://community.appian.com/thread/132028?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2024 14:16:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9d8fc3f1-6ab2-44b5-8f84-a954753ac290</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I covered time issues in Appian in a blog post. Find it here:&amp;nbsp;&lt;a href="https://appian.rocks/2023/02/13/working-with-time-in-appian/"&gt;https://appian.rocks/2023/02/13/working-with-time-in-appian/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>